Delete 2022_02_03_000000_remove_content_from_shoppingcart_table.php

This commit is contained in:
Patrick
2022-02-03 00:33:27 +01:00
committed by GitHub
parent 679578d4e2
commit b018ce007f

View File

@@ -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');
});
}