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