From b6f56ffebd991312b38eba37d7afaf4b1e671e2d Mon Sep 17 00:00:00 2001 From: weichien00 Date: Sat, 26 Jun 2021 00:17:01 +0800 Subject: [PATCH] delete: remove redundant migration files. --- ...21_06_23_151733_create_countries_table.php | 35 ---------------- ...21_06_23_151757_create_companies_table.php | 40 ------------------- 2 files changed, 75 deletions(-) delete mode 100644 database/migrations/2021_06_23_151733_create_countries_table.php delete mode 100644 database/migrations/2021_06_23_151757_create_companies_table.php diff --git a/database/migrations/2021_06_23_151733_create_countries_table.php b/database/migrations/2021_06_23_151733_create_countries_table.php deleted file mode 100644 index 11069e71..00000000 --- a/database/migrations/2021_06_23_151733_create_countries_table.php +++ /dev/null @@ -1,35 +0,0 @@ -id(); - $table->string('name')->unique(); - $table->string('short_code')->unique(); - $table->string('phone_code')->unique(); - $table->softDeletes(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('countries'); - } -} diff --git a/database/migrations/2021_06_23_151757_create_companies_table.php b/database/migrations/2021_06_23_151757_create_companies_table.php deleted file mode 100644 index 9eac0cc4..00000000 --- a/database/migrations/2021_06_23_151757_create_companies_table.php +++ /dev/null @@ -1,40 +0,0 @@ -id(); - $table->string('name'); - $table->string('reference'); - $table->integer('type')->default(CompanyType::COMPANY_BUSINESS); - $table->integer('business_type')->default(BusinessType::IMPORTER); - $table->integer('status')->default(ApprovalStatus::PENDING_SUBMISSION); - $table->softDeletes(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('companies'); - } -}