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