From 679578d4e259a6ebdcc6592b129fd8cabc1a18e4 Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 3 Feb 2022 00:32:37 +0100 Subject: [PATCH] Create 2022_02_03_000000_remove_content_from_shoppingcart_table.php --- ...remove_content_from_shoppingcart_table.php | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/Database/migrations/2022_02_03_000000_remove_content_from_shoppingcart_table.php diff --git a/src/Database/migrations/2022_02_03_000000_remove_content_from_shoppingcart_table.php b/src/Database/migrations/2022_02_03_000000_remove_content_from_shoppingcart_table.php new file mode 100644 index 0000000..c926142 --- /dev/null +++ b/src/Database/migrations/2022_02_03_000000_remove_content_from_shoppingcart_table.php @@ -0,0 +1,27 @@ +dropColumn('content'); + }); + } + + /** + * Reverse the migrations. + */ + public function down() + { + Schema::table(config('cart.database.table'), function (Blueprint $table) { + $table->longText('content'); + }); + }