dayrize-usecase/sql/products_schema.sql

13 lines
407 B
MySQL
Raw Normal View History

CREATE TABLE IF NOT EXISTS {{ params.output_table }} (
2023-06-25 11:33:06 +02:00
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
);