filters updated

This commit is contained in:
Benjamin Takats
2022-12-05 20:24:16 +01:00
parent e921132504
commit fd2dee5590
12 changed files with 90 additions and 11 deletions

View File

@@ -15,6 +15,8 @@ class CreateLibrariesTable extends Migration
Schema::create('libraries', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->boolean('is_public')
->default(true);
$table->json('language_codes')
->default('[]');
$table->timestamps();

View File

@@ -24,7 +24,8 @@ class CreateLibraryItemsTable extends Migration
$table->string('name');
$table->string('type');
$table->string('language_code');
$table->longText('value');
$table->longText('value')
->nullable();
$table->timestamps();
});