diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-02-22 20:31:11 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-02-22 20:31:11 +0000 |
| commit | e162ec40f8df79725d8e4201738fadf02896f1a7 (patch) | |
| tree | ac3d0a8ccb36356105d64ad70caa17b7677552f9 | |
| parent | 89c340a4f0bbd6b363ade6549df64e790ab664bb (diff) | |
| download | webtrees-e162ec40f8df79725d8e4201738fadf02896f1a7.tar.gz webtrees-e162ec40f8df79725d8e4201738fadf02896f1a7.tar.bz2 webtrees-e162ec40f8df79725d8e4201738fadf02896f1a7.zip | |
Cannot create news/journal entries
| -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(); |
