Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('api_office_id_seq'::regclass) |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| deleted | timestamptz | 35,6 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| name | varchar | 255 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| description | text | 2147483647 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| created_at | timestamptz | 35,6 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| updated_at | timestamptz | 35,6 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| company_id | int4 | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| currency_id | int4 | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| address | varchar | 255 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| varchar | 255 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| phone | varchar | 255 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| tax | float8 | 17,17 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_office_pkey | Primary key | Asc | id |
| api_office_company_id_a316f95c | Performance | Asc | company_id |
| api_office_currency_id_d681c056 | Performance | Asc | currency_id |
| api_office_name_77db0520_like | Performance | Asc | name |
| api_office_name_key | Must be unique | Asc | name |