Created
May 31, 2021 15:13
-
-
Save shrinivdeshmukh/25859d1d9800ea59b8af3a27eacb680b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tables: | |
user: | |
columns: | |
- name: user_id | |
type: integer | |
primary_key: true | |
- name: firstname | |
type: varchar | |
length: 20 | |
- name: lastname | |
type: varchar | |
length: 20 | |
- name: dob | |
type: date | |
- name: contact | |
type: numeric | |
nullable: false | |
unique: true | |
- name: address | |
type: varchar | |
length: 200 | |
order: | |
columns: | |
- name: order_id | |
type: integer | |
primary_key: true | |
- name: hotel_name | |
type: varchar | |
length: 100 | |
- name: order_date | |
type: date | |
- name: amount | |
type: float | |
- name: user_id | |
type: integer | |
foreign_key: user.user_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment