diff --git a/database/migrations/x/2019_12_28_165307_add_status_to_vehicles_table.php b/database/migrations/x/2019_12_28_165307_add_status_to_vehicles_table.php deleted file mode 100644 index 2c4b226..0000000 --- a/database/migrations/x/2019_12_28_165307_add_status_to_vehicles_table.php +++ /dev/null @@ -1,33 +0,0 @@ -integer('status')->default('0'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('vehicles', function (Blueprint $table) { - // - }); - } -} diff --git a/database/migrations/x/2019_11_07_230105_create_vehicles_table.php b/database/migrations/x/2020_01_22_004052_add_soft_deletes_to_operations_table.php similarity index 67% rename from database/migrations/x/2019_11_07_230105_create_vehicles_table.php rename to database/migrations/x/2020_01_22_004052_add_soft_deletes_to_operations_table.php index e373d0a..ed4c79f 100644 --- a/database/migrations/x/2019_11_07_230105_create_vehicles_table.php +++ b/database/migrations/x/2020_01_22_004052_add_soft_deletes_to_operations_table.php @@ -4,7 +4,7 @@ use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; -class addSoftDeletes_to_vechiles extends Migration +class AddSoftDeletesToOperationsTable extends Migration { /** * Run the migrations. @@ -13,14 +13,10 @@ class addSoftDeletes_to_vechiles extends Migration */ public function up() { - public function up() - { - Schema::table('vehicles', function (Blueprint $table) { - // + Schema::table('operations', function (Blueprint $table) { $table->softDeletes(); }); } - } /** * Reverse the migrations. @@ -29,6 +25,8 @@ class addSoftDeletes_to_vechiles extends Migration */ public function down() { - Schema::dropIfExists('vehicles'); + Schema::table('operations', function (Blueprint $table) { + // + }); } }