|
Server IP : 127.0.0.1 / Your IP : 127.0.0.1 Web Server : Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 System : Windows NT WIN-R7LTCC7BPLI 6.3 build 9200 (Windows Server 2012 R2 Datacenter Edition) i586 User : GerbangSIPAD ( 0) PHP Version : 5.6.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF Directory (0777) : C:/xampp5/htdocs/bhumie/upload/../database/table/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
-- Table: tarif_baru
-- DROP TABLE tarif_baru;
CREATE TABLE tarif_baru
(
kd_propinsi character(2) NOT NULL,
kd_dati2 character(2) NOT NULL,
thn_awal character(4) NOT NULL,
thn_akhir character(4) NOT NULL,
jns_tarif character(1) NOT NULL,
njop_min bigint NOT NULL,
njop_max bigint,
nilai_tarif real,
createdby integer NOT NULL DEFAULT (-1),
createdtime timestamp without time zone NOT NULL DEFAULT now(),
updatedby integer NOT NULL DEFAULT (-1),
updatedtime timestamp without time zone NOT NULL DEFAULT now(),
CONSTRAINT tarif_baru_pkey PRIMARY KEY (kd_propinsi, kd_dati2, thn_awal, thn_akhir, jns_tarif, njop_min),
CONSTRAINT fk_tarif_baru_users1 FOREIGN KEY (createdby)
REFERENCES users (id) MATCH SIMPLE
ON UPDATE CASCADE ON DELETE NO ACTION,
CONSTRAINT fk_tarif_baru_users2 FOREIGN KEY (updatedby)
REFERENCES users (id) MATCH SIMPLE
ON UPDATE CASCADE ON DELETE NO ACTION
)
WITH (
OIDS=FALSE
);
ALTER TABLE tarif_baru
OWNER TO postgres;