--------------------------------------------------------
--  Ref Constraints for Table SYSTEM_PROFILE
--------------------------------------------------------

  ALTER TABLE "ENVX_OPER"."SYSTEM_PROFILE" ADD CONSTRAINT "PROFILES_ROLE" FOREIGN KEY ("ID_ROLE")
	  REFERENCES "ENVX_OPER"."SYSTEM_ROLE" ("ID_ROLE") ENABLE;
  ALTER TABLE "ENVX_OPER"."SYSTEM_PROFILE" ADD CONSTRAINT "PROFILE_HIERARCHY" FOREIGN KEY ("ID_SUP_SYS_PROFILE")
	  REFERENCES "ENVX_OPER"."SYSTEM_PROFILE" ("ID_SYS_PROFILE") ON DELETE SET NULL ENABLE;
