feat(user): menambahkan kolom entry_date ke table users dan mengubah tipe data untuk dob dari dateTime menjadi date
This commit is contained in:
parent
5f17beaab1
commit
1a020b3669
@ -41,6 +41,7 @@ public function up(): void
|
||||
$table->decimal('base_salary', 10, 2)->default(0.00);
|
||||
$table->text('sop')->nullable();
|
||||
$table->enum('is_active', ['1', '0'])->default('1');
|
||||
$table->date('entry_date');
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
|
||||
@ -16,7 +16,7 @@ public function up(): void
|
||||
$table->foreignId('user_id')->constrained()->cascadeOnDelete();
|
||||
$table->string('full_name');
|
||||
$table->string('pob', 75);
|
||||
$table->dateTime('dob');
|
||||
$table->date('dob');
|
||||
$table->string('contact_number', 15);
|
||||
$table->text('address');
|
||||
$table->enum('gender', ['1', '2'])->comment('1:Laki-Laki 2:Perempuan');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user