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:
Daeng Deni Mardaeni
2025-04-08 18:56:00 +07:00
parent 21fd3f1b99
commit 90d7c017f0
2 changed files with 7 additions and 3 deletions

View File

@@ -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();
});