Skip to content

Commit

Permalink
build(db): fix the migration files
Browse files Browse the repository at this point in the history
  • Loading branch information
danvergara committed May 1, 2021
1 parent 3c70869 commit 0231001
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
5 changes: 0 additions & 5 deletions db/migrations/20210429225611_create_consumer.up.sql

This file was deleted.

5 changes: 5 additions & 0 deletions db/migrations/20210429225611_create_customer.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CREATE TABLE customers (
id SERIAL PRIMARY KEY,
name VARCHAR(100),
email VARCHAR(36)
);
2 changes: 1 addition & 1 deletion db/migrations/20210429225750_create_product.up.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CREATE TABLE products (
id BIGINT(20) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
id SERIAL PRIMARY KEY,
name VARCHAR(36),
price FLOAT
);

0 comments on commit 0231001

Please sign in to comment.