--------------------------------------------------------
--  DDL for Table SRC_JIRA_DE_SNAPSHOTS_ASSETS_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_ASSETS_TB" 
   (	"OBJECTTYPE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"KEY" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"NAME" VARCHAR2(512 BYTE) COLLATE "USING_NLS_COMP", 
	"CREATED" DATE, 
	"UPDATED" DATE, 
	"OWNER" VARCHAR2(256 BYTE) COLLATE "USING_NLS_COMP", 
	"VALUE_STREAM" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"BUSINESS_OBJECTIVE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"OBJECTIVE" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"TARGET" NUMBER(38,0), 
	"INACTIVE" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"COMPLETED" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"PARENT_OBJECTIVE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"QUARTER" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"DESCRIPTION" VARCHAR2(4096 BYTE) COLLATE "USING_NLS_COMP", 
	"VALUE_SUB_STREAM" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"ORG_AREA" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"JIRA_ENABLEMENT_REPRESENTATIVE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"DETAILS" VARCHAR2(1024 BYTE) COLLATE "USING_NLS_COMP", 
	"NSCORP_RECORD_URL" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"WORK_AREA" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"BUSINESS_DETAILS" VARCHAR2(1024 BYTE) COLLATE "USING_NLS_COMP", 
	"MORE_DETAILED_OUTCOMES" VARCHAR2(2048 BYTE) COLLATE "USING_NLS_COMP", 
	"WHY_ITS_IMPORTANT" VARCHAR2(1024 BYTE) COLLATE "USING_NLS_COMP", 
	"URL" VARCHAR2(256 BYTE) COLLATE "USING_NLS_COMP", 
	"FISCAL_YEAR" NUMBER(26,0), 
	"CURRENT" NUMBER(26,0), 
	"BASELINE" NUMBER(26,0), 
	"PROJECT" VARCHAR2(256 BYTE) COLLATE "USING_NLS_COMP", 
	"OBJECTSUBTYPE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"TARGET_DATE" DATE, 
	"STATUS" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"PRODUCT_TYPE" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"PARENT_PRODUCT" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"CAPABILITY_PORTING" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"INTEGRATION_DEADLINE" DATE, 
	"RELEASE_TYPE" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"PERIOD_START" DATE, 
	"PERIOD_END" DATE, 
	"JIRA_DOWNLOADER_METADATA_SCHEDULED_TIME" DATE, 
	"EXPECTED_COMPLETION_PERIOD" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"SCOPE_DEFINED" VARCHAR2(256 BYTE) COLLATE "USING_NLS_COMP"
   )  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_JIRA_DE_SNAPSHOTS_ASSETS_TB_PK1
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_ASSETS_TB_PK1" ON "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_ASSETS_TB" ("KEY", "JIRA_DOWNLOADER_METADATA_SCHEDULED_TIME") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_JIRA_DE_SNAPSHOTS_ASSETS_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_ASSETS_TB" MODIFY ("KEY" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_ASSETS_TB" MODIFY ("JIRA_DOWNLOADER_METADATA_SCHEDULED_TIME" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_ASSETS_TB" ADD CONSTRAINT "SRC_JIRA_DE_SNAPSHOTS_ASSETS_TB_PK" PRIMARY KEY ("KEY", "JIRA_DOWNLOADER_METADATA_SCHEDULED_TIME")
  USING INDEX "OTHQ_OWN"."SRC_JIRA_DE_SNAPSHOTS_ASSETS_TB_PK1"  ENABLE;
