unit


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id serial 10 nextval('unit_id_seq'::regclass)
location_log.unit_id FK_d785e5e94fe935532e8fe77f541 R
trip.unit_id FK_fde3bb4aa31c5c155daf2a0b2e4 R
uuid uuid 2147483647 null
plate_number varchar 255 null
model varchar 255 null
color varchar 255 null
created_at timestamp 29,6 now()
updated_at timestamp 29,6 now()
deleted_at timestamp 29,6 null
driver_id int4 10 null
driver.id FK_e39b008f7e49680470837aed94e R
stop_id int4 10 null
stop.id FK_fa24178bb7c49eab35e38fd3da3 R
location_log_id int4 10 null
location_log.id FK_27680dfb45ddb580bf061ca8d15 R

Indexes

Constraint Name Type Sort Column(s)
PK_4252c4be609041e559f0c80f58a Primary key Asc id
UQ_0acb849a6b3546bd109fed78e2f Must be unique Asc uuid

Relationships