dayrize-usecase/sql/products_schema.sql

13 lines
409 B
SQL

CREATE TABLE IF NOT EXISTS {{ params.products_table }} (
tcin VARCHAR PRIMARY KEY,
gtin13 VARCHAR NOT NULL,
primary_category VARCHAR NOT NULL,
materials VARCHAR[],
packaging INT NOT NULL,
origin VARCHAR NOT NULL,
height NUMERIC,
width NUMERIC,
depth NUMERIC,
weight NUMERIC
);