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();