diff options
Diffstat (limited to 'db/migrations/2018_10_01_000000_create_users_tables.php')
-rw-r--r-- | db/migrations/2018_10_01_000000_create_users_tables.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/db/migrations/2018_10_01_000000_create_users_tables.php b/db/migrations/2018_10_01_000000_create_users_tables.php index 40721286..c7937bed 100644 --- a/db/migrations/2018_10_01_000000_create_users_tables.php +++ b/db/migrations/2018_10_01_000000_create_users_tables.php @@ -36,7 +36,7 @@ class CreateUsersTables extends Migration }); $this->schema->create('users_personal_data', function (Blueprint $table) { - $this->referencesUser($table); + $this->referencesUser($table, true); $table->string('first_name', 64)->nullable(); $table->string('last_name', 64)->nullable(); @@ -47,7 +47,7 @@ class CreateUsersTables extends Migration }); $this->schema->create('users_contact', function (Blueprint $table) { - $this->referencesUser($table); + $this->referencesUser($table, true); $table->string('dect', 5)->nullable(); $table->string('mobile', 40)->nullable(); @@ -55,7 +55,7 @@ class CreateUsersTables extends Migration }); $this->schema->create('users_settings', function (Blueprint $table) { - $this->referencesUser($table); + $this->referencesUser($table, true); $table->string('language', 64); $table->tinyInteger('theme'); @@ -64,7 +64,7 @@ class CreateUsersTables extends Migration }); $this->schema->create('users_state', function (Blueprint $table) { - $this->referencesUser($table); + $this->referencesUser($table, true); $table->boolean('arrived')->default(false); $table->dateTime('arrival_date')->nullable(); @@ -75,7 +75,7 @@ class CreateUsersTables extends Migration }); $this->schema->create('password_resets', function (Blueprint $table) { - $this->referencesUser($table); + $this->referencesUser($table, true); $table->text('token'); |