--------------------------------------------------------
--  DDL for Table SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB" 
   (  "LINK_TYPE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "CHILD_KEY" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "RELATION" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "PARENT_KEY" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "JIRA_DOWNLOADER_METADATA_SCHEDULED_TIME" DATE
   )  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 SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB_PK" ON "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB" ("LINK_TYPE", "CHILD_KEY", "PARENT_KEY", "RELATION", "JIRA_DOWNLOADER_METADATA_SCHEDULED_TIME") 
  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_JIRA_DE_SNAPSHOTS_MAPPING_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB" MODIFY ("LINK_TYPE" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB" MODIFY ("CHILD_KEY" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB" MODIFY ("RELATION" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB" MODIFY ("PARENT_KEY" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB" MODIFY ("JIRA_DOWNLOADER_METADATA_SCHEDULED_TIME" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB" ADD CONSTRAINT "SRC_JIRA_DE_SNAPSHOTS_MAPPING_TB_PK" PRIMARY KEY ("LINK_TYPE", "CHILD_KEY", "PARENT_KEY", "RELATION", "JIRA_DOWNLOADER_METADATA_SCHEDULED_TIME")
  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;
