Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| ID | CHAR | 36 | null |
|
|
Unique identifier to an account |
||
| BRANCH | INT | 10 | null |
|
|
The owner branch to an account |
||
| ACCOUNT | BIGINT | 19 | null |
|
|
The account number |
||
| ACCOUNT_TYPE_ID | CHAR | 36 | null |
|
|
The type of the given account |
||
| TIME_ZONE | VARCHAR | 30 | null |
|
|
The timezone of the account (on the tz database name format) |
||
| STATUS | VARCHAR | 36 | null |
|
|
The status of the account (possible values : ACTIVE, INACTIVE) |
||
| STATUS_MOD | TINYINT | 3 | null |
|
|
Marks whether the status flag has changed on the given revision |
||
| REVISION_ID | BIGINT | 19 | null |
|
|
|||
| REVISION_TYPE | SMALLINT | 5 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc/Asc | ID + REVISION_ID |
