-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathschema.sql
More file actions
21 lines (19 loc) · 742 Bytes
/
schema.sql
File metadata and controls
21 lines (19 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- MySQL schemas
-- Keeping track of your MySQL schemas can help with automating adding tables
-- to your MySQL database. Simply add the table schema below and use the import
-- command to upload it to your database.
-- To import your schemas into your database, run:
-- `mysql -u <username> -p <database> < schema.sql` from the project directory
-- where <username> is your MySQL username and <database> is the MySQL
-- database of interest.
-- An Example Schema:
-- CREATE TABLE IF NOT EXISTS employees (
-- emp_no INT(11),
-- birth_date DATE,
-- first_name VARCHAR(14),
-- last_name VARCHART(16),
-- gender ENUM('M','F'),
-- hire_date DATE
--
-- PRIMARY KEY (emp_no)
-- ) ENGINE = InnoDB DEFAULT CHARSET = "utf8";