--------------------------------------------------------
--  DDL for Table REQUEST_EXEC_DEPLOY
--------------------------------------------------------

  CREATE TABLE "ENVX_OPER"."REQUEST_EXEC_DEPLOY" 
   (	"ID_REQ_HGROUP" VARCHAR2(50 BYTE), 
	"ID_REQUEST" NUMBER(*,0), 
	"ID_DEPLOYMENT_STATUS" NUMBER(*,0), 
	"DEPLOYMENT_STATUS" VARCHAR2(50 BYTE), 
	"ENV_HGROUP_ORDER" NUMBER(*,0), 
	"ENV_HGROUP_MEMBERS" NUMBER, 
	"ID_ENV_HGROUP" VARCHAR2(50 BYTE), 
	"ID_DEPLOYING_TECH" NUMBER(*,0), 
	"ENV_ORDER" NUMBER, 
	"ID_ENVIROMENT" NUMBER(*,0), 
	"ID_PARENT_ENVIROMENT" NUMBER(*,0), 
	"OBJ_HGROUP_ORDER" NUMBER(*,0), 
	"OBJ_HGROUP_MEMBERS" NUMBER, 
	"ID_OBJ_HGROUP" VARCHAR2(50 BYTE), 
	"ID_PATTERN" NUMBER(*,0), 
	"ID_PATTERN_STEP" NUMBER, 
	"OBJ_ORDER" NUMBER(*,0), 
	"ID_OBJECT_REPO" VARCHAR2(1000 BYTE), 
	"OBJECT_SOURCE_PATH" VARCHAR2(1000 BYTE), 
	"OBJECT_NAME" VARCHAR2(100 BYTE), 
	"OBJECT_VERSION" VARCHAR2(200 BYTE), 
	"ID_CONTROL_DEPLOY" NUMBER(*,0), 
	"ID_USER_CONTROL" NUMBER(*,0), 
	"ID_EXECUTOR" NUMBER(*,0), 
	"ID_DEP_PROC" VARCHAR2(100 BYTE), 
	"RETRY_NUMER" NUMBER(*,0), 
	"CONTROL_INIT_DATE" DATE, 
	"CONTROL_END_DATE" DATE, 
	"ID_DEP_REQ_OBJECT" NUMBER, 
	"ID_PARENT_CTRL_DEPLOY" NUMBER(*,0), 
	"QUEUE_ALIAS" VARCHAR2(100 BYTE), 
	"ID_PRC_QUEUE" VARCHAR2(100 BYTE), 
	"OBSERVATION" VARCHAR2(4000 BYTE)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 
 NOCOMPRESS 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 "APEX_3800503980117141" ;

   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ID_REQ_HGROUP" IS 'Identificador del Grupo de la Solicitud';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ID_DEPLOYMENT_STATUS" IS 'Identificador del estado de despliegue';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."DEPLOYMENT_STATUS" IS 'Estado de despliegue';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ENV_HGROUP_ORDER" IS 'Orden de ejecucion para los grupos de ambientes';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ENV_HGROUP_MEMBERS" IS 'Cantidad total de Ambientes en el Grupo
';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ID_ENV_HGROUP" IS 'Identificador del Grupo de Ambientes
';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ID_DEPLOYING_TECH" IS 'Identificador de la Tecnologia';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ENV_ORDER" IS 'Orden de Ejecucion de los ambientes';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ID_ENVIROMENT" IS 'Identificador del ambientes';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ID_PARENT_ENVIROMENT" IS 'Identificador del ambiente padre
';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."OBJ_HGROUP_ORDER" IS 'Orden de ejecucion para los grupos de ambientes
';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."OBJ_HGROUP_MEMBERS" IS 'Catidad total de Objetos en el Grupo
';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ID_OBJ_HGROUP" IS 'Identificador del Grupo de Objetos
';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ID_CONTROL_DEPLOY" IS 'Identificador unico de la ejecucion ';
   COMMENT ON COLUMN "ENVX_OPER"."REQUEST_EXEC_DEPLOY"."ID_USER_CONTROL" IS 'Identificador unico del usuario responsable
';
  GRANT SELECT ON "ENVX_OPER"."REQUEST_EXEC_DEPLOY" TO "ENVX_AUDIT";
