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 |
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 |
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: | |
userinfo: | |
columns: | |
- name: id | |
type: integer | |
primary_key: true | |
- name: firstname | |
type: varchar |
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: # In this section, we define the tables, their name and schema | |
userinfo: # This is the table name | |
columns: # In this section, we define column names and their data types | |
- name: id | |
type: integer | |
primary_key: true # Set this value for the primary key column |