Skip to content

Commit 803dfba

Browse files
committed
item name addition
1 parent cad3983 commit 803dfba

File tree

6 files changed

+209
-202
lines changed

6 files changed

+209
-202
lines changed

src/migrations/customer/00003_orders_ddl.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ CREATE TABLE IF NOT EXISTS orders.delivery_cost (
2828

2929
CREATE TABLE IF NOT EXISTS orders.products (
3030
id MEDIUMINT,
31+
item_name VARCHAR(100),
3132
unit_price DECIMAL(11,2),
32-
quantity_in_stock DECIMAL(9,2),
3333
active BOOLEAN DEFAULT TRUE,
3434
created_on DATETIME DEFAULT CURRENT_TIMESTAMP,
3535
updated_on DATETIME ON UPDATE CURRENT_TIMESTAMP,

src/migrations/customer/00005_guests_ddl.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ CREATE TABLE IF NOT EXISTS guests.address_type (
3434

3535
CREATE TABLE IF NOT EXISTS guests.products (
3636
id MEDIUMINT,
37+
item_name VARCHAR(100),
3738
unit_price DECIMAL(11,2),
38-
quantity_in_stock DECIMAL(9,2),
3939
active BOOLEAN DEFAULT TRUE,
4040
created_on DATETIME DEFAULT CURRENT_TIMESTAMP,
4141
updated_on DATETIME ON UPDATE CURRENT_TIMESTAMP,

0 commit comments

Comments
 (0)