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 |
|||||||||||
| STATUS | VARCHAR | 36 | null |
|
|
The status of the account (possible values : ACTIVE, INACTIVE) |
|||||||||||
| TIME_ZONE | VARCHAR | 30 | null |
|
|
The timezone of the account (on the tz database name format) |
|||||||||||
| CREATED_AT | DATETIME | 26 | CURRENT_TIMESTAMP(6) |
|
|
Timestamp value to register a record creation time. |
|||||||||||
| UPDATED_AT | DATETIME | 26 | √ | CURRENT_TIMESTAMP(6) |
|
|
Timestamp value to register a record update time. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | ID |
| DTW_REG_ACCOUNT_NID_IDX | Must be unique | Asc/Asc | BRANCH + ACCOUNT |
| DTW_REG_ACCOUNT_TYPE_ID_IDX | Performance | Asc | ACCOUNT_TYPE_ID |

