- false abstract types (migration and frontend)

This commit is contained in:
Arno Kaimbacher 2019-09-19 12:00:30 +02:00
parent f1728568c3
commit 0d6cf1158f
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ class CreateDatasetTitlesTable extends Migration
$table->foreign('document_id')->references('id')->on('documents')
->onUpdate('cascade')->onDelete('cascade');
$table->enum('type', ['main' => 'Main', '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);
});