Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('car_id_seq'::regclass) |
|
|
|||||||||||
| created_at | timestamp | 29,6 | now() |
|
|
||||||||||||
| updated_at | timestamp | 29,6 | now() |
|
|
||||||||||||
| id_creator | int4 | 10 | null |
|
|
||||||||||||
| id_updater | int4 | 10 | null |
|
|
||||||||||||
| id_carmodel | int4 | 10 | null |
|
|
||||||||||||
| chassisnumber | text | 2147483647 | √ | null |
|
|
Holds the unique chassis number |
||||||||||
| wheelchairseat | int2 | 5 | √ | null |
|
|
|||||||||||
| seat | int2 | 5 | √ | null |
|
|
|||||||||||
| note | text | 2147483647 | √ | null |
|
|
|||||||||||
| id_tenant | int4 | 10 | null |
|
|
Reference to the tenant |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pk_car_id | Primary key | Asc | id |
| u_car_chassisnumber | Must be unique | Asc | chassisnumber |