--------------------------------------------------------
--  DDL for Table SRC_CSV_GITLAB_SDLC_COMMITS_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_COMMITS_TB" 
   (  "PROJECT_ID" NUMBER, 
  "MERGE_REQUEST_ID" NUMBER, 
  "MERGE_REQUEST_IID" NUMBER, 
  "COMMIT_ID" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "CREATED_AT" DATE, 
  "TITLE" VARCHAR2(1024 BYTE) COLLATE "USING_NLS_COMP", 
  "COMMITTER_NAME" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "COMMITTER_EMAIL" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "COMMITTED_DATE" DATE, 
  "DOWNLOAD_TIMESTAMP" 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_CSV_GITLAB_SDLC_COMMITS_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_COMMITS_TB_PK" ON "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_COMMITS_TB" ("COMMIT_ID", "DOWNLOAD_TIMESTAMP") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_CSV_GITLAB_SDLC_COMMITS_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_COMMITS_TB" MODIFY ("COMMIT_ID" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_COMMITS_TB" MODIFY ("DOWNLOAD_TIMESTAMP" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_COMMITS_TB" ADD CONSTRAINT "SRC_CSV_GITLAB_SDLC_COMMITS_TB_PK" PRIMARY KEY ("COMMIT_ID", "DOWNLOAD_TIMESTAMP")
  USING INDEX PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA"  ENABLE;
