--------------------------------------------------------
--  DDL for Table SRC_NLCORP_DATABASES_MIGVAL_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_NLCORP_DATABASES_MIGVAL_TB" 
   (  "INTERNALID" NUMBER, 
  "DBNAME" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "DBNKEY" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "DBHOST" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "DBINSTANCE" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "HIGHRISK" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "DBSIZE" NUMBER, 
  "DBTYPE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "VERSION" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "PRODUCTION_PHASE" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "DATACENTER" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "DESCRIPTION" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "ONLINE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "CREATED_DATE_UTC" DATE, 
  "UPGRADE_DATE_UTC" DATE, 
  "MAINTENANCE_WINDOW" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "DCID" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "DCID_BACKEND" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "DATACENTER_OLD" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "INACTIVE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "PRE_MIGRATE_COLD_TEST_DONE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "PRE_MIGRATE_HOT_TEST_DONE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "MIGRATE_COLD_TEST_DONE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "MIGRATE_POST_TEST_DONE" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "LAST_MODIFIED_UTC" DATE, 
  "PRE_MIGRATE_COLD_TEST_DATE_UTC" DATE, 
  "PRE_MIGRATE_HOT_TEST_DATE_UTC" DATE, 
  "MIGRATE_COLD_TEST_DATE_UTC" DATE, 
  "MIGRATE_POST_TEST_DATE_UTC" DATE, 
  "METADATA_DOWNLOADED_TIMESTAMP_UTC" 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_NLCORP_DATABASES_MIGVAL_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_NLCORP_DATABASES_MIGVAL_TB_PK" ON "OTHQ_OWN"."SRC_NLCORP_DATABASES_MIGVAL_TB" ("DBNAME") 
  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_DATABASES_MIGVAL_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_NLCORP_DATABASES_MIGVAL_TB" MODIFY ("DBNAME" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_NLCORP_DATABASES_MIGVAL_TB" ADD CONSTRAINT "SRC_NLCORP_DATABASES_MIGVAL_TB_PK" PRIMARY KEY ("DBNAME")
  USING INDEX "OTHQ_OWN"."SRC_NLCORP_DATABASES_MIGVAL_TB_PK"  ENABLE;
