Created
February 21, 2018 15:08
-
-
Save andri-sudarmawijaya/b5a628ebff733cef3fc8d3866dbb425c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE ref.negara | |
( | |
negara_id character(2) NOT NULL, | |
nama character varying(45) NOT NULL, | |
luar_negeri numeric(1,0) NOT NULL, | |
create_date timestamp(0) without time zone NOT NULL, | |
last_update timestamp(0) without time zone NOT NULL, | |
expired_date timestamp(0) without time zone, | |
last_sync timestamp(0) without time zone NOT NULL, | |
CONSTRAINT negara_pkey PRIMARY KEY (negara_id) | |
) | |
WITH ( | |
OIDS=FALSE | |
); | |
ALTER TABLE ref.negara | |
OWNER TO postgres; | |
GRANT ALL ON TABLE ref.negara TO postgres; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment