Files
label_editor/server/migrations/20260720094632_add_supplier.sql

12 lines
325 B
SQL

-- Add migration script here
CREATE TABLE supplier
(
id bigint NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 ),
topm_id text NOT NULL,
name text NOT NULL,
bio_info text
);
-- Insert default values
INSERT INTO supplier (topm_id, name, bio_info) VALUES ('999', 'Lodner Gewürze', 'DE-ÖKO-006');