--------------------------------------------------------
--  DDL for Table SRC_NLCORP_SCRUM_TEAM_DE_SNAPSHOTS_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_NLCORP_SCRUM_TEAM_DE_SNAPSHOTS_TB" 
   (	"NAME" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"DATE_CREATED" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"INACTIVE" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM_INTERNAL_ID" NUMBER, 
	"LAST_MODIFIED" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"LAST_MODIFIED_BY" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"PRODUCT_DEPARTMENT" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"PRODUCT_TEAM" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"PRODUCT_RELEASING_SCRUM_TEAM" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_MASTER" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"VALUE_STREAM" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"TEAM_LEAD" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM_VP" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM_VP_EMAIL" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM_QA_DIRECTOR_OR_SR_MANAGER" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM_QA_DIRECTOR_EMAIL" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM_PRIMARY_EMAIL" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM_LOCATION" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM_DEV_DIRECTOR_OR_SR_MANAGER" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_TEAM_DEV_DIRECTOR_EMAIL" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"SCRUM_MASTER_EMAIL" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"PRODUCT_TEAM_ID" NUMBER, 
	"METADATA_DATE_CREATED_UTC" DATE, 
	"METADATA_LAST_MODIFIED_UTC" DATE, 
	"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_NLCORP_SCRUM_TEAM_DE_SNAPSHOTS_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_NLCORP_SCRUM_TEAM_DE_SNAPSHOTS_TB_PK" ON "OTHQ_OWN"."SRC_NLCORP_SCRUM_TEAM_DE_SNAPSHOTS_TB" ("METADATA_DOWNLOADED_TIMESTAMP_UTC", "SCRUM_TEAM_INTERNAL_ID") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_NLCORP_SCRUM_TEAM_DE_SNAPSHOTS_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_NLCORP_SCRUM_TEAM_DE_SNAPSHOTS_TB" MODIFY ("SCRUM_TEAM_INTERNAL_ID" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_NLCORP_SCRUM_TEAM_DE_SNAPSHOTS_TB" MODIFY ("METADATA_DOWNLOADED_TIMESTAMP_UTC" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_NLCORP_SCRUM_TEAM_DE_SNAPSHOTS_TB" ADD CONSTRAINT "SRC_NLCORP_SCRUM_TEAM_DE_SNAPSHOTS_TB_PK" PRIMARY KEY ("METADATA_DOWNLOADED_TIMESTAMP_UTC", "SCRUM_TEAM_INTERNAL_ID")
  USING INDEX PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA"  ENABLE;
