Commit a323c32f by karade

Upload New File

parent 9d26536d
Showing with 26 additions and 0 deletions
CREATE TABLE `Flights`(
`destination` CHAR(255) NOT NULL,
`time` BIGINT NOT NULL,
`seats` INT NOT NULL,
primary key (destination)
);
CREATE TABLE `Bookings`(
`id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
`seat` INT NOT NULL,
`flightNum` CHAR(255) NOT NULL,
`bookingNumber` BIGINT NOT NULL,
`luggageClass` INT NULL COMMENT '1-With check-in
2-Oversized
3-Other',
`checkedIn` TINYINT(1) NOT NULL,
primary key (id)
);
CREATE TABLE `Users`(
`documentNum` BIGINT NOT NULL,
`firstName` CHAR(255) NULL,
`lastName` CHAR(255) NULL,
`dateOfBirth` CHAR(255) NULL,
`email` CHAR(255) NULL,
`residency` CHAR(255) NULL,
primary key (documentNum)
);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment