Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | BIGINT | 19 | √ | null |
|
|
||||||||||||||||||||||||||||||
| name | VARCHAR | 200 | null |
|
|
|||||||||||||||||||||||||||||||
| parent_id | BIGINT | 19 | √ | NULL |
|
|
||||||||||||||||||||||||||||||
| hierarchy | VARCHAR | 50 | √ | NULL |
|
|
||||||||||||||||||||||||||||||
| gl_code | VARCHAR | 45 | null |
|
|
|||||||||||||||||||||||||||||||
| disabled | BIT | 1 | b'0' |
|
|
|||||||||||||||||||||||||||||||
| manual_journal_entries_allowed | BIT | 1 | b'1' |
|
|
|||||||||||||||||||||||||||||||
| account_usage | TINYINT | 3 | 2 |
|
|
|||||||||||||||||||||||||||||||
| classification_enum | SMALLINT | 5 | null |
|
|
|||||||||||||||||||||||||||||||
| tag_id | INT | 10 | √ | NULL |
|
|
||||||||||||||||||||||||||||||
| description | VARCHAR | 500 | √ | NULL |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| FK_ACC_0000000001 | Performance | Asc | parent_id |
| FKGLACC000000002 | Performance | Asc | tag_id |
| gl_code | Must be unique | Asc | gl_code |