Table vehicles


Physical Name:
vehicles

Constraint:



Attribute Summary
PK FK Logical Name Physical Name Type UNIQUE NOT NULL
    plate  plate  varchar(9)    NOT NULL 
    brand  brand  varchar(20)    NOT NULL 
    color  color  varchar(20)     
    model  model  varchar(30)    NOT NULL 
    device_fk  device_fk  int  UNIQUE   
    mission_fk  mission_fk  varchar(20)     

Foreign Key
Attribute Referenced Table Referenced Key ON UPDATE ON DELETE Cardinality of parent Cardinality of child
device_fk  devices  id  NO ACTION  NO ACTION  0..1 
mission_fk  missions  id  NO ACTION  NO ACTION  0..1  1..n 

Referenced Key
Attribute Table Foreign Key ON UPDATE ON DELETE Cardinality of parent Cardinality of child
plate  positions  vehicle_fk  NO ACTION  NO ACTION  0..1  1..n 

Complex Unique Key
 

Index Summary
Index Name Type UNIQUE

Attribute Detail

plate

plate


	

UNIQUE : FALSE
NOT NULL : TRUE
Type : varchar(9)
AUTO INCREMENT : FALSE
Default Value :
Constraint :


brand

brand


	

UNIQUE : FALSE
NOT NULL : TRUE
Type : varchar(20)
AUTO INCREMENT : FALSE
Default Value :
Constraint :


color

color


	

UNIQUE : FALSE
NOT NULL : FALSE
Type : varchar(20)
AUTO INCREMENT : FALSE
Default Value :
Constraint :


model

model


	

UNIQUE : FALSE
NOT NULL : TRUE
Type : varchar(30)
AUTO INCREMENT : FALSE
Default Value :
Constraint :


device_fk

device_fk


	

UNIQUE : TRUE
NOT NULL : FALSE
Type : int
AUTO INCREMENT : FALSE
Default Value :
Constraint :


mission_fk

mission_fk


	

UNIQUE : FALSE
NOT NULL : FALSE
Type : varchar(20)
AUTO INCREMENT : FALSE
Default Value :
Constraint :