-- DROP TABLE adempiere.z_resource;
CREATE TABLE adempiere.z_resource
(
z_resource_id numeric(10,0) NOT NULL,
ad_client_id numeric(10,0) NOT NULL,
ad_org_id numeric(10,0) NOT NULL,
isactive character(1) NOT NULL DEFAULT 'Y'::bpchar,
created timestamp without time zone NOT NULL DEFAULT now(),
createdby numeric(10,0) NOT NULL,
updated timestamp without time zone NOT NULL DEFAULT now(),
updatedby numeric(10,0) NOT NULL,
value character varying(40) NOT NULL,
name character varying(60) NOT NULL,
description character varying(255),
help character varying(2000),
timefrom timestamp without time zone,
timeto timestamp without time zone,
z_org_id numeric(10,0) NOT NULL,
z_shift_id numeric(10,0) NOT NULL,
z_resource_uu character varying(36) DEFAULT NULL::character varying,
CONSTRAINT z_resource_isactive_check CHECK (isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))
)
WITH (
OIDS=FALSE
);
ALTER TABLE adempiere.z_resource
OWNER TO postgres;
沒有留言:
張貼留言