add nullable for description field for files table

This commit is contained in:
aslan 2024-01-26 11:17:12 +03:00
parent 252c06e020
commit 5cafe2294f
1 changed files with 1 additions and 1 deletions

View File

@ -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');