feat(migrations): perbarui struktur tabel customers dan accounts
- Tambahkan kolom province, city, district, village, dan postal_code pada tabel customers. - Ganti nama kolom customer_no menjadi customer_code pada tabel accounts.
This commit is contained in:
@@ -16,8 +16,13 @@ return new class extends Migration
|
||||
$table->string('customer_code')->unique();
|
||||
$table->string('name')->nullable();
|
||||
$table->text('address')->nullable();
|
||||
$table->string('province')->nullable();
|
||||
$table->string('city')->nullable();
|
||||
$table->string('district')->nullable();
|
||||
$table->string('village')->nullable();
|
||||
$table->string('postal_code')->nullable();
|
||||
$table->string('branch_code')->nullable();
|
||||
$table->string('date_of_birth')->nullable();
|
||||
$table->date('date_of_birth')->nullable();
|
||||
$table->string('email')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user