CREATE TABLE "DEPERSONDATASOURCE" 
(	"DEPERSONDATASOURCE_ID" NUMBER(10,0) NOT NULL ENABLE, 
	"CODE" VARCHAR2(64 BYTE) NOT NULL ENABLE, 
	 PRIMARY KEY ("DEPERSONDATASOURCE_ID"), 
	 UNIQUE ("CODE") 
 );
 
CREATE TABLE "DEPERSONTABLE" 
(	"DEPERSONTABLE_ID" NUMBER(10,0) NOT NULL ENABLE, 
	"ORIGINALVALUETYPE" NUMBER(10,0) NOT NULL ENABLE, 
	"ORIGINALVALUE" VARCHAR2(2048 BYTE) NOT NULL ENABLE, 
	"DEPERSONVALUE" VARCHAR2(256 BYTE) NOT NULL ENABLE, 
	"DEPERSONDATASOURCE_ID" NUMBER(10,0) NOT NULL ENABLE, 
	 PRIMARY KEY ("DEPERSONTABLE_ID"), 
	 CONSTRAINT "FK_DEPERSONTABLE_DATASOURCE" FOREIGN KEY ("DEPERSONDATASOURCE_ID") REFERENCES "DEPERSONDATASOURCE" ("DEPERSONDATASOURCE_ID") ENABLE
);


 CREATE SEQUENCE  "DEPERSONTABLE_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 ;

 CREATE SEQUENCE  "DEPERSONDATASOURCE_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1;
