This commit is contained in:
2025-11-06 07:27:31 +01:00
parent f349877334
commit 2b2d2c0c6e

View File

@@ -84,7 +84,7 @@ erDiagram
holder { holder {
bigint id PK bigint id PK
int person_id FK date creation_date
} }
%% Relations %% Relations
@@ -175,7 +175,7 @@ erDiagram
exchange_rate { exchange_rate {
date date PK date date PK
text currency_code PK/FK text currency_code PK
decimal rate decimal rate
} }
@@ -196,16 +196,16 @@ erDiagram
%% Relations %% Relations
person ||--|| holder : a person ||--|| holder : is
company ||--|| holder : a company ||--|| holder : is
bank ||--|| holder : a bank ||--|| holder : is
holder }|--|{ account_holder : a holder }|--|{ account_holder : a
account_holder }|--|{ account : a account_holder }|--|{ account : hold
currency ||--|{ account : a currency ||--|{ account : tenu
exchange_rate }o--|| currency : a exchange_rate }o--|| currency : a
transaction }o--|| operation : a transaction }o--|| operation : contient
operation }o--|| account : a operation }o--|| account : concerne
operation }o--|| account : a operation }o--|| account : concerne
``` ```
## 4. Procédure stockée ## 4. Procédure stockée