Skip to content

Instantly share code, notes, and snippets.

@Xhendor
Created May 18, 2016 06:16
Show Gist options
  • Save Xhendor/ab2216f58cf6995b7eb03fdb7f2a9e4b to your computer and use it in GitHub Desktop.
Save Xhendor/ab2216f58cf6995b7eb03fdb7f2a9e4b to your computer and use it in GitHub Desktop.
CREATE TABLE public.sait_mod (
pinsait varchar(100) NOT NULL,
sait_mod_id numeric NULL,
pin text NULL,
CONSTRAINT sait_mod_pk PRIMARY KEY (pinsait),
CONSTRAINT fk_person FOREIGN KEY (pin) REFERENCES public.pers_person(pin)
)
WITH (
OIDS=FALSE
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment