Table positions


Physical Name:
positions

Constraint:



Attribute Summary
PK FK Logical Name Physical Name Type UNIQUE NOT NULL
    id  id  serial    NOT NULL 
    speed  speed  real    NOT NULL 
    altitude  altitude  real     
    gps  gps  varchar(255)    NOT NULL 
    latitude  latitude  double precision    NOT NULL 
    longitude  longitude  double precision    NOT NULL 
    positiontimestamp  positiontimestamp  timestamp    NOT NULL 
    vehicle_fk  vehicle_fk  varchar(9)     

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

Referenced Key
Attribute Table Foreign Key ON UPDATE ON DELETE Cardinality of parent Cardinality of child

Complex Unique Key
 

Index Summary
Index Name Type UNIQUE

Attribute Detail

id

id


	

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


speed

speed


	

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


altitude

altitude


	

UNIQUE : FALSE
NOT NULL : FALSE
Type : real
AUTO INCREMENT : FALSE
Default Value :
Constraint :


gps

gps


	

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


latitude

latitude


	

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


longitude

longitude


	

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


positiontimestamp

positiontimestamp


	

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


vehicle_fk

vehicle_fk


	

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