This commit is contained in:
2025-11-08 07:17:55 +01:00
parent e536a97adb
commit 8013aab0e7

View File

@@ -18,7 +18,7 @@ create table holder (
*/
create table bank (
"id" bigint primary key references holder(id), -- identifiant unique
"name" text not null
"name" text not null
);
/*
@@ -51,6 +51,7 @@ create table exchange_rate (
"rate" decimal not null,
primary key (currency_code, date)
);
/*
* Account
* La contrainte check (balance >= 0) empêche les soldes négatifs