withdraw_status_history

-1 rows


Description

Table represents the status history of each withdrawal

Columns

Column Type Size Nulls Auto Default Children Parents Comments
withdraw_status_id int2 5 null

0: requested; 5: approved; 10: processing; 20: rejected; 30: successful; 40: failed; 50: reversed; 60: cancelled

withdraw_id int4 10 null
withdraw.withdraw_id withdraw_status_history_withdraw_id_fkey R

Withdrawal this status applies to

withdraw_status_history_timestamp timestamptz 35,6 null

When this status was applied

Indexes

Constraint Name Type Sort Column(s)
idx_withdraw_status_history_timestamp Performance Asc withdraw_status_history_timestamp
idx_withdraw_status_history_withdraw_status_id Performance Asc withdraw_status_id

Relationships