--------------------------------------------------------
--  DDL for Table SRC_NLCORP_FEATURE_DE_SNAPSHOTS_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_NLCORP_FEATURE_DE_SNAPSHOTS_TB" 
   (	"FEATURE_ID" NUMBER(38,0), 
	"PARENT_FEATURE_ID" NUMBER(38,0), 
	"NAME" VARCHAR2(256 BYTE) COLLATE "USING_NLS_COMP", 
	"FEATURE_STATUS" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"PRODUCT_MANAGER" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"PRIMARY_DEVELOPER" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"PRIMARY_QA_ENGINEER" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"NETSUITE_PRODUCT" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"FEATURE_TYPE" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"RELEASE_TARGET" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"POST_FEATURE_FREEZE_APPROVED" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"SCHEDULED_FOR_RELEASE" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM_APPROVAL_TO_SHIP" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"FEATURE_ABSTRACT" VARCHAR2(4096 BYTE) COLLATE "USING_NLS_COMP", 
	"FEATURE_MOOD_RING" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
	"JIRA_KEY" VARCHAR2(256 BYTE) COLLATE "USING_NLS_COMP", 
	"COMPONENT_AREA" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"SECURITY_DESIGN_REVIEW_RECORD" NUMBER(38,0), 
	"REQUIRED_COMPLIANCE_CB" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"COMPLIANCE_COMPLETED_CB" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"COMPLIANCE_PRIMARY_REVIEWER" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"PRIVACY_REQUIRED_CB" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"PRIVACY_COMPLETED_CB" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"PRIVACY_PRIMARY_REVIEWER" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"PRODUCT_SECURITY_DESIGN_REQUIRED_CB" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"PRODUCT_SECURITY_DESIGN_COMPLETED_CB" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"PRODUCT_SECURITY_DESIGN_PRIMARY_REVIEWER" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"SEC_OPS_AND_ENG_REQUIRED_CB" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"SEC_OPS_AND_ENG_COMPLETED_CB" VARCHAR2(5 BYTE) COLLATE "USING_NLS_COMP", 
	"SEC_OPS_AND_ENG_PRIMARY_REVIEWER" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"PRODUCT_TEAM_CONTACT_FOR_SECURITY" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"DATE_CREATED_UTC" DATE, 
	"LAST_MODIFIED_UTC" DATE, 
	"COMPLETED_DATE_UTC" DATE, 
	"TARGET_RELEASE_DATE_UTC" DATE, 
	"PLANNED_ML_INTEGRATION_DATE_UTC" DATE, 
	"BUNDLE_RELEASE_DATE_UTC" DATE, 
	"TODATE" DATE, 
	"TRUST_SERVICES_REVIEW_NOT_REQUIRED" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"PLANNED_MINOR_RELEASE_TARGET" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"FEATURE_CATEGORY" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"REQUEST_FOR_EXCEPTION" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"REQUESTOR" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"EXCEPTION_REASON" VARCHAR2(1024 BYTE) COLLATE "USING_NLS_COMP", 
	"EXCEPTION_IMPACT" VARCHAR2(2048 BYTE) COLLATE "USING_NLS_COMP", 
	"RISK_ASSESSMENT" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"RISK_ASSESSMENT_EXPLANATION" VARCHAR2(2048 BYTE) COLLATE "USING_NLS_COMP", 
	"MIGRATES_DROPDOWN" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"MIGRATES" VARCHAR2(1024 BYTE) COLLATE "USING_NLS_COMP", 
	"EXCEPTION_NOTES" VARCHAR2(2048 BYTE) COLLATE "USING_NLS_COMP", 
	"FEATURE_EXCEPTION_REQUEST_DATE_UTC" DATE, 
	"PGP_APPROVED_DATE_UTC" DATE, 
	"APPROVAL_COMMENT" VARCHAR2(4096 BYTE) COLLATE "USING_NLS_COMP", 
	"APPROVAL_STATUS" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM_ID" NUMBER(38,0), 
	"RELEASED_AS_A_HIDDEN_FEATURE" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"ADVANCED_ONLY_NETSUITE_NEXT" 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 SRC_NLCORP_FEATURE_DE_SNAPSHOTS_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_NLCORP_FEATURE_DE_SNAPSHOTS_TB_PK" ON "OTHQ_OWN"."SRC_NLCORP_FEATURE_DE_SNAPSHOTS_TB" ("FEATURE_ID", "TODATE") 
  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_NLCORP_FEATURE_DE_SNAPSHOTS_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_NLCORP_FEATURE_DE_SNAPSHOTS_TB" MODIFY ("FEATURE_ID" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_NLCORP_FEATURE_DE_SNAPSHOTS_TB" MODIFY ("TODATE" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_NLCORP_FEATURE_DE_SNAPSHOTS_TB" ADD CONSTRAINT "SRC_NLCORP_FEATURE_DE_SNAPSHOTS_TB_PK" PRIMARY KEY ("FEATURE_ID", "TODATE")
  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;
