Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

krmaet / Lennubroneerimis_tarkvara

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Pipelines
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit f06e0dbc authored 2 years ago by karade's avatar karade
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

Update Andmebaasi deklaratsioon.sql

parent 543097a4 mysql
Show whitespace changes
Inline Side-by-side
Showing with 5 additions and 0 deletions
  • Andmebaasi deklaratsioon.sql
Andmebaasi deklaratsioon.sql
View file @ f06e0dbc
......@@ -24,3 +24,7 @@ CREATE TABLE `Users`(
`residency` CHAR(255) NULL,
primary key (documentNum)
);
ALTER TABLE
`Bookings` ADD CONSTRAINT `bookings_flightnum_foreign` FOREIGN KEY(`flightNum`) REFERENCES `Flights`(`destination`);
ALTER TABLE
`Bookings` ADD CONSTRAINT `bookings_bookingnumber_foreign` FOREIGN KEY(`bookingNumber`) REFERENCES `Users`(`documentNum`);
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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