aboutsummaryrefslogtreecommitdiff
path: root/migrations/2020-11-16-133516_create_products_table/up.sql
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-11-16 14:15:42 +0000
committerAkshay <[email protected]>2020-11-16 14:15:42 +0000
commit67e5016829787c2398dcb1ceea6b6dca192ac27c (patch)
tree3bf82a2002c22e66439fda23bd66844d0a953571 /migrations/2020-11-16-133516_create_products_table/up.sql
parent4589d5a278c8d1c51e4a465c04945f8a84b6e131 (diff)
add product table
Diffstat (limited to 'migrations/2020-11-16-133516_create_products_table/up.sql')
-rw-r--r--migrations/2020-11-16-133516_create_products_table/up.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/migrations/2020-11-16-133516_create_products_table/up.sql b/migrations/2020-11-16-133516_create_products_table/up.sql
new file mode 100644
index 0000000..829c5be
--- /dev/null
+++ b/migrations/2020-11-16-133516_create_products_table/up.sql
@@ -0,0 +1,8 @@
1-- Your SQL goes here
2CREATE TABLE product (
3 id INTEGER PRIMARY KEY AUTO_INCREMENT,
4 name VARCHAR(255) NOT NULL,
5 kind VARCHAR(255),
6 price FLOAT NOT NULL,
7 description VARCHAR(255)
8)