Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('account_group_id_seq'::regclass) |
|
|
||||||||
| parent_id | int4 | 10 | √ | null |
|
|
Parent |
|||||||
| company_id | int4 | 10 | null |
|
|
Company |
||||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
|||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
|||||||
| parent_path | varchar | 2147483647 | √ | null |
|
|
Parent Path |
|||||||
| code_prefix_start | varchar | 2147483647 | √ | null |
|
|
Code Prefix Start |
|||||||
| code_prefix_end | varchar | 2147483647 | √ | null |
|
|
Code Prefix End |
|||||||
| name | jsonb | 2147483647 | null |
|
|
Name |
||||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
|||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| account_group_pkey | Primary key | Asc | id |
| account_group__parent_id_index | Performance | Asc | parent_id |
| account_group__parent_path_index | Performance | Asc | parent_path |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| account_group_check_length_prefix | ((char_length((COALESCE(code_prefix_start, ''::character varying))::text) = char_length((COALESCE(code_prefix_end, ''::character varying))::text))) |

