transaction
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user