bazzar/db/migrate/202204172215_delivery_and_price.sql

11 lines
164 B
SQL

CREATE TYPE "Price" AS (
"value" integer,
"currency" varchar
);
ALTER TABLE products
ADD COLUMN "deliver_days_flag" int
NOT NULL
-- 0x1111111
DEFAULT 127;