diff --git a/database/migrations/2021_02_26_153027_create_dataset_identifiers_table.php b/database/migrations/2021_02_26_153027_create_dataset_identifiers_table.php index e50c7c3..dd1d516 100644 --- a/database/migrations/2021_02_26_153027_create_dataset_identifiers_table.php +++ b/database/migrations/2021_02_26_153027_create_dataset_identifiers_table.php @@ -13,7 +13,7 @@ class CreateDatasetIdentifiersTable extends Migration */ public function up() { - Schema::table('dataset_identifiers', function (Blueprint $table) { + Schema::create('dataset_identifiers', function (Blueprint $table) { // primary key $table->increments('id'); @@ -45,8 +45,6 @@ class CreateDatasetIdentifiersTable extends Migration */ public function down() { - Schema::table('dataset_identifiers', function (Blueprint $table) { - // - }); + Schema::dropIfExists('dataset_identifiers'); } }