diff --git a/database/migrations/2023_10_11_083314_create_general_members_table.php b/database/migrations/2023_10_11_083314_create_general_members_table.php index b93aacf..116f47e 100644 --- a/database/migrations/2023_10_11_083314_create_general_members_table.php +++ b/database/migrations/2023_10_11_083314_create_general_members_table.php @@ -15,11 +15,13 @@ public function up(): void $table->id(); $table->string('name')->nullable(); $table->string('nim')->nullable(); + $table->string('birth_date')->nullable(); $table->text('home_address')->nullable(); $table->text('boarding_address')->nullable(); $table->string('email')->nullable(); $table->string('telephone')->nullable(); - $table->year("year")->nullable()->default(date('Y')); + $table->year("year")->nullable(); + $table->string("photo")->nullable(); $table->timestamps(); $table->softDeletes(); });