-- ABS-64771 / ABS-70518
ALTER TABLE DATABASESETTINGS RENAME COLUMN ENVIRONMENT TO ENVIRONMENTNAME;
ALTER TABLE DATABASESETTINGS MODIFY (ENVIRONMENTNAME VARCHAR2(30));
ALTER TABLE DATABASESETTINGS ADD (ENVIRONMENTSTAGE VARCHAR2(20) DEFAULT 'PRODUCTION' NOT NULL
      CONSTRAINT ENVIRONMENTSTAGE_VALID1 CHECK (ENVIRONMENTSTAGE IN ('PRODUCTION','TEST')));

