diff --git a/database/migrations/2019_08_29_075029_create_dataset_titles_table.php b/database/migrations/2019_08_29_075029_create_dataset_titles_table.php index b5fc6a3..7c8d858 100644 --- a/database/migrations/2019_08_29_075029_create_dataset_titles_table.php +++ b/database/migrations/2019_08_29_075029_create_dataset_titles_table.php @@ -20,7 +20,7 @@ class CreateDatasetTitlesTable extends Migration $table->foreign('document_id')->references('id')->on('documents') ->onUpdate('cascade')->onDelete('cascade'); - $table->enum('type', ['sub' => 'sub', 'alternative' => 'alternative', 'translated' => 'translated', 'other' => 'other']); + $table->enum('type', ['main' => 'main', 'sub' => 'sub', 'alternative' => 'alternative', 'translated' => 'translated', 'other' => 'other']); $table->string('value', 255); $table->string('language', 3); }); diff --git a/database/migrations/2019_08_29_075729_create_dataset_abstracts_table.php b/database/migrations/2019_08_29_075729_create_dataset_abstracts_table.php index cc11d6a..76b9a26 100644 --- a/database/migrations/2019_08_29_075729_create_dataset_abstracts_table.php +++ b/database/migrations/2019_08_29_075729_create_dataset_abstracts_table.php @@ -22,7 +22,7 @@ class CreateDatasetAbstractsTable extends Migration $table->enum( 'type', - ['methods' => 'methods', 'series_information' => 'series_information', 'technical_info' => 'technical_info', 'translated' => 'translated', 'other' => 'other'] + ['abstract' => 'abstract', 'methods' => 'methods', 'series_information' => 'series_information', 'technical_info' => 'technical_info', 'translated' => 'translated', 'other' => 'other'] ); $table->string('value', 255); $table->string('language', 3);