diff --git a/src/Database/Migrations/2013_10_01_000001_Db_Deferred_Bindings.php b/src/Database/Migrations/2013_10_01_000001_Db_Deferred_Bindings.php index 61528871c..aa0ed9ed1 100644 --- a/src/Database/Migrations/2013_10_01_000001_Db_Deferred_Bindings.php +++ b/src/Database/Migrations/2013_10_01_000001_Db_Deferred_Bindings.php @@ -14,7 +14,9 @@ public function up() $table->string('slave_type'); $table->integer('slave_id'); $table->string('session_key'); + $table->mediumText('pivot_data')->nullable(); $table->boolean('is_bind')->default(true); + $table->integer('sort_order')->nullable(); $table->timestamps(); }); } diff --git a/src/Database/Migrations/2021_10_01_000004_Db_Add_Pivot_Data_To_Deferred_Bindings.php b/src/Database/Migrations/2021_10_01_000004_Db_Add_Pivot_Data_To_Deferred_Bindings.php deleted file mode 100644 index 2b0238242..000000000 --- a/src/Database/Migrations/2021_10_01_000004_Db_Add_Pivot_Data_To_Deferred_Bindings.php +++ /dev/null @@ -1,21 +0,0 @@ -mediumText('pivot_data')->nullable()->after('slave_id'); - }); - } - - public function down() - { - Schema::table('deferred_bindings', function (Blueprint $table) { - $table->dropColumn('pivot_data'); - }); - } -};