mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-24 07:55:35 +00:00
Delete 2022_02_03_000000_remove_content_from_shoppingcart_table.php
This commit is contained in:
@@ -1,27 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
use Illuminate\Database\Migrations\Migration;
|
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
|
||||||
use Illuminate\Support\Facades\Schema;
|
|
||||||
|
|
||||||
class RemoveContentFromShoppingcartTable extends Migration
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Run the migrations.
|
|
||||||
*/
|
|
||||||
public function up()
|
|
||||||
{
|
|
||||||
Schema::table(config('cart.database.table'), function (Blueprint $table) {
|
|
||||||
$table->dropColumn('content');
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Reverse the migrations.
|
|
||||||
*/
|
|
||||||
public function down()
|
|
||||||
{
|
|
||||||
Schema::table(config('cart.database.table'), function (Blueprint $table) {
|
|
||||||
$table->longText('content');
|
|
||||||
});
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user