dayrize-usecase/sql/products_schema.sql

13 lines
407 B
MySQL
Raw Normal View History

CREATE TABLE IF NOT EXISTS {{ params.output_table }} (
gtin13 VARCHAR PRIMARY KEY,
tcin 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
);