diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-12-08 02:09:52 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-12-08 02:09:52 +0100 |
commit | 72123fcd31b612e35e5967c01faae9dd202756d8 (patch) | |
tree | be46153ce3c9370477846431d22c113c5d6d1d46 /db/migrations/2019_11_29_000000_create_questions_table.php | |
parent | ad6b48bd20246093c50ef13514fd2733762ceed5 (diff) |
Migration References->referencesUser: Changes $setPrimary from true to false
Diffstat (limited to 'db/migrations/2019_11_29_000000_create_questions_table.php')
-rw-r--r-- | db/migrations/2019_11_29_000000_create_questions_table.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrations/2019_11_29_000000_create_questions_table.php b/db/migrations/2019_11_29_000000_create_questions_table.php index 7ea1ff07..d0674931 100644 --- a/db/migrations/2019_11_29_000000_create_questions_table.php +++ b/db/migrations/2019_11_29_000000_create_questions_table.php @@ -74,7 +74,7 @@ class CreateQuestionsTable extends Migration 'questions', function (Blueprint $table) { $table->increments('id'); - $this->referencesUser($table, false); + $this->referencesUser($table); $table->text('text'); $table->text('answer') ->nullable(); |