nRnYqfrb5pJuTP5YAohj

Vehicles Table

Nov 12th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.77 KB | None | 0 0
  1. CREATE TABLE `vehicles` (
  2.   `id` int(11) NOT NULL AUTO_INCREMENT,
  3.   `make` char(45) DEFAULT NULL,
  4.   `model` char(45) DEFAULT NULL,
  5.   `registration` char(45) DEFAULT NULL,
  6.   `price_average` int(11) DEFAULT NULL COMMENT 'This is the price expected to be paid for this vehicle in average condition.',
  7.   `price_forecourt` int(11) DEFAULT NULL COMMENT 'This is the price expected to be paid for this vehicle on the garage forecourt.',
  8.   `mileage` int(11) DEFAULT NULL,
  9.   `fuel_type` char(45) DEFAULT NULL,
  10.   `colour` char(45) DEFAULT NULL,
  11.   `MOT_expiry_date` date DEFAULT NULL,
  12.   `vin` varchar(45) DEFAULT NULL,
  13.   `arrival_time` datetime DEFAULT NULL,
  14.   `departure_time` datetime DEFAULT NULL,
  15.   PRIMARY KEY (`id`)
  16. ) ENGINE=InnoDB AUTO_INCREMENT=1001 DEFAULT CHARSET=utf8mb4;
Advertisement
Add Comment
Please, Sign In to add comment