DTW_REG_ACCOUNT


Description

Holds an account

Columns

Column Type Size Nulls Auto Default Children Parents Comments
ID CHAR 36 null
DTW_REG_ACCOUNT_FEATURE.ACCOUNT_ID DTW_REG_ACC_FEATURE_ACC_ID_FK C
DTW_REG_ACCOUNT_LIMIT.ACCOUNT_ID DTW_REG_ACCOUNT_FK C
DTW_REG_REL_ACCOUNT_PARTY.ACCOUNT_ID DTW_REG_REL_ACC_ACC_ID_FK C

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
DTW_REG_ACCOUNT_TYPE.ID DTW_REG_ACCOUNT_TYPE_ID_FK C

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

Relationships