Skip to content

Commit

Permalink
Add photo and birthdate colomn and change default colomn year ini gen…
Browse files Browse the repository at this point in the history
…eral member tables
  • Loading branch information
ShiranaiZo committed Nov 28, 2023
1 parent 4eb3025 commit 4715e2d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit 4715e2d

Please sign in to comment.