transaction

This commit is contained in:
2025-11-09 18:26:41 +01:00
parent 132804bcce
commit 68e4502406
3 changed files with 274 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ create table exchange_rate (
create table account (
"id" bigint primary key generated always as identity,
"opened_at" date not null default current_date,
"balance" numeric(18,6) not null default 0 check (balance >= 0),
"balance" numeric(18,6) not null default 0,
"currency_code" text not null references currency (code)
);