Add group_id to members table

This commit is contained in:
philipp lang 2021-06-13 11:32:56 +02:00
parent d4eb62ff61
commit 5181d9db7f
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ class CreateMembersTable extends Migration
$table->string('further_address')->nullable(); $table->string('further_address')->nullable();
$table->string('zip'); $table->string('zip');
$table->string('location'); $table->string('location');
$table->foreignId('group_id')->constrained();
$table->foreignId('region_id')->nullable()->constrained(); $table->foreignId('region_id')->nullable()->constrained();
$table->string('main_phone')->nullable(); $table->string('main_phone')->nullable();
$table->string('mobile_phone')->nullable(); $table->string('mobile_phone')->nullable();