Add a title to the table, so multiple balances per account are possible.

This commit is contained in:
James Cole
2024-05-12 08:09:50 +02:00
parent 4b3eb6dace
commit fc5143337a
3 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ return new class extends Migration
Schema::create('account_balances', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->string('title',100)->nullable();
$table->integer('account_id', false, true);
$table->integer('transaction_currency_id', false, true);
$table->decimal('balance', 32, 12);