--------------------------------------------------------
--  DDL for Table SRC_CSV_GITLAB_SDLC_APPROVALS_API_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_APPROVALS_API_TB" 
   (  "PROJECT_ID" NUMBER, 
  "MERGE_REQUEST_ID" NUMBER, 
  "MERGE_REQUEST_IID" NUMBER, 
  "APPROVER_USERNAME" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "APPROVER_NAME" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "APPROVAL_TYPE" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "APPROVED_AT" DATE, 
  "DOWNLOAD_TIMESTAMP" 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_CSV_GITLAB_SDLC_APPROVALS_API_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_APPROVALS_API_TB_PK" ON "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_APPROVALS_API_TB" ("MERGE_REQUEST_ID", "APPROVER_NAME", "APPROVAL_TYPE", "DOWNLOAD_TIMESTAMP") 
  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_CSV_GITLAB_SDLC_APPROVALS_API_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_APPROVALS_API_TB" MODIFY ("MERGE_REQUEST_ID" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_APPROVALS_API_TB" MODIFY ("APPROVER_NAME" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_APPROVALS_API_TB" MODIFY ("APPROVAL_TYPE" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_APPROVALS_API_TB" MODIFY ("DOWNLOAD_TIMESTAMP" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_CSV_GITLAB_SDLC_APPROVALS_API_TB" ADD CONSTRAINT "SRC_CSV_GITLAB_SDLC_APPROVALS_API_TB_PK" PRIMARY KEY ("MERGE_REQUEST_ID", "APPROVER_NAME", "APPROVAL_TYPE", "DOWNLOAD_TIMESTAMP")
  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;
