--------------------------------------------------------
--  DDL for Table SRC_AL_DYNAMICATP_REPORT_ACTIONS_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_AL_DYNAMICATP_REPORT_ACTIONS_TB" 
   (    "ACCOUNTNAME" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
    "WORKFLOWID" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
    "SCALETYPE" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
    "OLDVALUE" NUMBER, 
    "NEWVALUE" NUMBER, 
    "SUBMITTEDTIME" DATE, 
    "COMPLETEDTIME" DATE, 
    "STATUS" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
    "ERRORMESSAGE" VARCHAR2(1024 BYTE) COLLATE "USING_NLS_COMP", 
    "ACCOUNTTYPE" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
    "METADATA_DOWNLOADED_TIMESTAMP_UTC" DATE, 
    "METADATA_ENDPOINT" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
    "METADATA_REGION" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP"
   )  DEFAULT COLLATION "USING_NLS_COMP" SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 
 COLUMN STORE COMPRESS FOR QUERY HIGH ROW LEVEL LOCKING LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  DDL for Index PK_SRC_AL_DYNAMICATP_REPORT_ACTIONS_TB
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."PK_SRC_AL_DYNAMICATP_REPORT_ACTIONS_TB" ON "OTHQ_OWN"."SRC_AL_DYNAMICATP_REPORT_ACTIONS_TB" ("WORKFLOWID") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  DDL for Index SRC_AL_DYNAMICATP_REPORT_ACTIONS_TB_INDEX1
--------------------------------------------------------

  CREATE INDEX "OTHQ_OWN"."SRC_AL_DYNAMICATP_REPORT_ACTIONS_TB_INDEX1" ON "OTHQ_OWN"."SRC_AL_DYNAMICATP_REPORT_ACTIONS_TB" ("ACCOUNTNAME", "WORKFLOWID", "SCALETYPE", "OLDVALUE", "NEWVALUE", "SUBMITTEDTIME", "COMPLETEDTIME", "STATUS", "ERRORMESSAGE", "ACCOUNTTYPE", "METADATA_REGION") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_AL_DYNAMICATP_REPORT_ACTIONS_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_AL_DYNAMICATP_REPORT_ACTIONS_TB" ADD CONSTRAINT "PK_SRC_AL_DYNAMICATP_REPORT_ACTIONS_TB" PRIMARY KEY ("WORKFLOWID")
  USING INDEX PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "DATA"  ENABLE;
