car

0 rows


Description

Holds all cars

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id serial 10 nextval('car_id_seq'::regclass)
car_registration.id_car fk_car_registration_id_car R
mileage.id_car fk_mileage_id_car R
trip.id_car fk_trip_id_car R
created_at timestamp 29,6 now()
updated_at timestamp 29,6 now()
id_creator int4 10 null
user.id fk_car_id_creator R
id_updater int4 10 null
user.id fk_car_id_updater R
id_carmodel int4 10 null
carmodel.id fk_car_id_carmodel R
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
tenant.id fk_car_id_tenant R

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

Relationships