dayrize-usecase/pipeline/sql/products_schema.sql

13 lines
411 B
MySQL
Raw Normal View History

CREATE TABLE IF NOT EXISTS sustainability_score.products (
gtin13 INT PRIMARY KEY,
tcin INT 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
);