--------------------------------------------------------
--  DDL for Table SRC_SMD_PDBS_HISTORY_MOVES_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_SMD_PDBS_HISTORY_MOVES_TB" 
   (  "PDBID" NUMBER(38,0), 
  "CREATED" DATE, 
  "REGION" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
  "MOVEDFROM" VARCHAR2(3 BYTE) COLLATE "USING_NLS_COMP", 
  "MOVEDTO" VARCHAR2(3 BYTE) COLLATE "USING_NLS_COMP", 
  "DELETED" DATE, 
  "ENDPOINT" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "METADATA_DOWNLOADED_TIMESTAMP_UTC" DATE
   )  DEFAULT COLLATION "USING_NLS_COMP" SEGMENT CREATION DEFERRED 
  PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 
 COLUMN STORE COMPRESS FOR QUERY HIGH ROW LEVEL LOCKING LOGGING
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  DDL for Index SRC_SMD_PDBS_HISTORY_MOVES_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_SMD_PDBS_HISTORY_MOVES_TB_PK" ON "OTHQ_OWN"."SRC_SMD_PDBS_HISTORY_MOVES_TB" ("PDBID", "REGION", "ENDPOINT") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_SMD_PDBS_HISTORY_MOVES_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_SMD_PDBS_HISTORY_MOVES_TB" MODIFY ("PDBID" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_SMD_PDBS_HISTORY_MOVES_TB" MODIFY ("REGION" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_SMD_PDBS_HISTORY_MOVES_TB" MODIFY ("ENDPOINT" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_SMD_PDBS_HISTORY_MOVES_TB" ADD CONSTRAINT "SRC_SMD_PDBS_HISTORY_MOVES_TB_PK" PRIMARY KEY ("PDBID", "REGION", "ENDPOINT")
  USING INDEX PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA"  ENABLE;
