Commit 737a31d3 by karade

Update Andmebaasi deklaratsioon.sql

parent db683276
Showing with 1 additions and 1 deletions
CREATE TABLE `Flights`( CREATE TABLE `Flights`(
`id` INT NOT NULL AUTO_INCREMENT, `id` INT NOT NULL AUTO_INCREMENT,
`passenger_id` INT NOT NULL,
`destination` CHAR(255) NOT NULL, `destination` CHAR(255) NOT NULL,
`time` CHAR(255) NOT NULL, `time` CHAR(255) NOT NULL,
`seats` INT NOT NULL, `seats` INT NOT NULL,
...@@ -25,6 +24,7 @@ CREATE TABLE `Users`( ...@@ -25,6 +24,7 @@ CREATE TABLE `Users`(
`checkedIn` TINYINT(1) NOT NULL, `checkedIn` TINYINT(1) NOT NULL,
`seat` CHAR(255) NOT NULL, `seat` CHAR(255) NOT NULL,
`luggageClass` INT NOT NULL, `luggageClass` INT NOT NULL,
`flight_id` INT NOT NULL,
primary key(id) primary key(id)
); );
......
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