From 5181d9db7ffb51975debb41d1b19fb3978e93f9b Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sun, 13 Jun 2021 11:32:56 +0200 Subject: [PATCH] Add group_id to members table --- database/migrations/2020_04_12_223230_create_members_table.php | 1 + 1 file changed, 1 insertion(+) diff --git a/database/migrations/2020_04_12_223230_create_members_table.php b/database/migrations/2020_04_12_223230_create_members_table.php index 3f4cbdc5..ab013d46 100644 --- a/database/migrations/2020_04_12_223230_create_members_table.php +++ b/database/migrations/2020_04_12_223230_create_members_table.php @@ -38,6 +38,7 @@ class CreateMembersTable extends Migration $table->string('further_address')->nullable(); $table->string('zip'); $table->string('location'); + $table->foreignId('group_id')->constrained(); $table->foreignId('region_id')->nullable()->constrained(); $table->string('main_phone')->nullable(); $table->string('mobile_phone')->nullable();