Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| account_id | serial | 10 | √ | nextval('accounts_account_id_seq'::regclass) |
|
|
||||||
| balance | float8 | 17,17 | 0.0 |
|
|
|||||||
| allow_negative | bool | 1 | false |
|
|
|||||||
| credit_line | float8 | 17,17 | '0'::numeric |
|
|
|||||||
| details | jsonb | 2147483647 | √ | null |
|
|
||||||
| create_tstamp | timestamptz | 35,6 | √ | CURRENT_TIMESTAMP |
|
|
||||||
| modified_tstamp | timestamptz | 35,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| accounts_pkey | Primary key | Asc | account_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| accounts_check | (((credit_line > (0)::double precision) OR (NOT allow_negative))) |

