feat(accounts): perbarui struktur tabel akun

- Ganti nama kolom 'customer_code' menjadi 'customer_no'.
- Tambahkan kolom 'co_code', 'open_category', 'start_year_bal', 'closure_date', 'account_type', 'stmt_email', dan 'stmt_sent_type'.
This commit is contained in:
Daeng Deni Mardaeni
2025-04-08 16:33:44 +07:00
parent ec56dcbc75
commit 5024f3eb58
2 changed files with 9 additions and 40 deletions

File diff suppressed because one or more lines are too long

View File

@@ -14,11 +14,18 @@ return new class extends Migration
Schema::create('accounts', function (Blueprint $table) {
$table->id();
$table->string('account_number')->unique();
$table->string('customer_code')->nullable();
$table->string('customer_no')->nullable();
$table->string('currency')->nullable();
$table->string('opening_date')->nullable();
$table->date('opening_date')->nullable();
$table->string('branch_code')->nullable();
$table->string('product_category')->nullable();
$table->string('co_code')->nullable();
$table->string('open_category')->nullable();
$table->string('start_year_bal', 15, 2)->nullable();
$table->date('closure_date')->nullable();
$table->string('account_type')->nullable();
$table->string('stmt_email')->nullable();
$table->string('stmt_sent_type')->nullable();
$table->timestamps();
});
}