diff options
| -rw-r--r-- | app/Schema/Migration40.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Schema/Migration40.php b/app/Schema/Migration40.php index c163b3c093..e682aab223 100644 --- a/app/Schema/Migration40.php +++ b/app/Schema/Migration40.php @@ -38,8 +38,8 @@ class Migration40 implements MigrationInterface if (!DB::schema()->hasTable('news')) { DB::schema()->create('news', function (Blueprint $table): void { $table->integer('news_id', true); - $table->integer('user_id'); - $table->integer('gedcom_id'); + $table->integer('user_id')->nullable(); + $table->integer('gedcom_id')->nullable(); $table->string('subject', 255); $table->text('body'); $table->timestamp('updated')->useCurrent(); |
