16 lines
490 B
MySQL
16 lines
490 B
MySQL
|
CREATE TABLE public."ExternalDataset" (
|
||
|
"Id" uuid DEFAULT public.uuid_generate_v4() NOT NULL,
|
||
|
"Label" character varying NOT NULL,
|
||
|
"Abbreviation" character varying,
|
||
|
"Reference" character varying NOT NULL,
|
||
|
"Created" timestamp(4) with time zone NOT NULL,
|
||
|
"Modified" timestamp(4) with time zone NOT NULL
|
||
|
);
|
||
|
|
||
|
|
||
|
ALTER TABLE public."ExternalDataset" OWNER TO dmptool;
|
||
|
|
||
|
ALTER TABLE ONLY public."ExternalDataset"
|
||
|
ADD CONSTRAINT "ExternalDataset_pkey" PRIMARY KEY ("Id");
|
||
|
|