nRnYqfrb5pJuTP5YAohj

Vehicles Table II

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