From 72123fcd31b612e35e5967c01faae9dd202756d8 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 8 Dec 2019 02:09:52 +0100 Subject: Migration References->referencesUser: Changes $setPrimary from true to false --- db/migrations/2019_11_29_000000_create_questions_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db/migrations/2019_11_29_000000_create_questions_table.php') 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(); -- cgit v1.3.1