bazzar/migrations/202204172215_delivery_and_price.sql

11 lines
164 B
MySQL
Raw Normal View History

2022-04-17 23:11:58 +02:00
CREATE TYPE "Price" AS (
"value" integer,
"currency" varchar
);
ALTER TABLE products
ADD COLUMN "deliver_days_flag" int
NOT NULL
-- 0x1111111
DEFAULT 127;