From e7738f432b1b47dbb24fcdf9288c8b0812e9593a Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Mon, 1 Mar 2021 16:36:34 +0100 Subject: [PATCH] - error in migrating file 2021_02_26_153027_create_dataset_identifiers_table.php --- .../2021_02_26_153027_create_dataset_identifiers_table.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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'); } }