add nullable for description field for files table
This commit is contained in:
parent
252c06e020
commit
5cafe2294f
|
@ -14,7 +14,7 @@ return new class extends Migration
|
||||||
Schema::create('files', function (Blueprint $table) {
|
Schema::create('files', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->string('name');
|
$table->string('name');
|
||||||
$table->string('description');
|
$table->string('description')->nullable();
|
||||||
$table->string('url');
|
$table->string('url');
|
||||||
$table->integer('position');
|
$table->integer('position');
|
||||||
$table->foreignId('reception_screen_id')->constrained('reception_screens');
|
$table->foreignId('reception_screen_id')->constrained('reception_screens');
|
||||||
|
|
Loading…
Reference in New Issue