argos/dmp-db-scema/updates/03/03. Funder-create.sql

12 lines
548 B
SQL

CREATE TABLE public."Funder"
(
"ID" uuid NOT NULL DEFAULT uuid_generate_v4(),
"Label" character varying(250) COLLATE pg_catalog."default" NOT NULL,
"Reference" character varying COLLATE pg_catalog."default",
"Definition" character varying COLLATE pg_catalog."default",
"Status" smallint NOT NULL DEFAULT 0,
"Created" timestamp(4) with time zone NOT NULL DEFAULT now(),
"Modified" timestamp(4) with time zone NOT NULL DEFAULT now(),
"Type" numeric NOT NULL DEFAULT 0,
CONSTRAINT "Funder_pkey" PRIMARY KEY ("ID")
)