--------------------------------------------------------
--  DDL for Table SYSTEM_ROLE
--------------------------------------------------------

  CREATE TABLE "ENVX_OPER"."SYSTEM_ROLE" 
   (	"ID_ROLE" NUMBER(*,0), 
	"ROLE_NAME" VARCHAR2(50 BYTE), 
	"ROLE_DESCRIPTION" VARCHAR2(100 BYTE), 
	"ROLE_TYPE" NUMBER(*,0), 
	"IDM_GROUP" VARCHAR2(500 BYTE), 
	"ID_APEX_ROLE" NUMBER, 
	"IDM_DOMAIN" VARCHAR2(500 BYTE), 
	"ROLE_STATUS" NUMBER
   ) 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"."SYSTEM_ROLE"."ID_ROLE" IS 'Identificador del Rol';
   COMMENT ON COLUMN "ENVX_OPER"."SYSTEM_ROLE"."ROLE_NAME" IS 'Nombre del Rol';
   COMMENT ON COLUMN "ENVX_OPER"."SYSTEM_ROLE"."ROLE_DESCRIPTION" IS 'Descripci¿n del Rol';
   COMMENT ON COLUMN "ENVX_OPER"."SYSTEM_ROLE"."ROLE_TYPE" IS '1 - Administrador / 2 - Operador';
   COMMENT ON COLUMN "ENVX_OPER"."SYSTEM_ROLE"."ID_APEX_ROLE" IS 'Identificador del Role para APEX';
  GRANT SELECT ON "ENVX_OPER"."SYSTEM_ROLE" TO "ENVX_AUDIT";
