diff --git a/database/migrations/2024_03_25_174556_add_payment_option_fields_to_orders_and_carts_tables.php b/database/migrations/2024_03_25_174556_add_payment_option_fields_to_orders_and_carts_tables.php deleted file mode 100644 index a97d337..0000000 --- a/database/migrations/2024_03_25_174556_add_payment_option_fields_to_orders_and_carts_tables.php +++ /dev/null @@ -1,43 +0,0 @@ -json('payment_breakdown')->nullable()->after('shipping_total'); - $table->integer('payment_total')->default(0)->unsigned()->index()->after('payment_breakdown'); - }); - - // Carts - Schema::table(Config::get('lunar.database.table_prefix').'carts', function (Blueprint $table) { - $table->string('payment_option')->nullable()->index()->after('order_id'); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - // Orders - Schema::table(Config::get('lunar.database.table_prefix').'orders', function (Blueprint $table) { - $table->dropColumn('payment_breakdown'); - $table->dropColumn('payment_total'); - }); - - // Carts - Schema::table(Config::get('lunar.database.table_prefix').'carts', function (Blueprint $table) { - $table->dropColumn('payment_option'); - }); - } -};