--------------------------------------------------
-- Feb. 17, 2021
-- Author: Tony Chen 
-- Following changes are made to add two new  
-- application preferences to better control 
-- communications with Phoenix Bioinformatics.
--------------------------------------------------

DELETE FROM `application_preferences`
WHERE `NAME` = 'PORTAL2' AND `PREFERENCE` = 'phoenix.module.enabled'
;
-- --------------------------------------------------

INSERT INTO `application_preferences` (`NAME`, `PREFERENCE`, `VALUE`) VALUES 
    ('PORTAL2', 'phoenix.api.module.enabled', '1')
;

INSERT INTO `application_preferences` (`NAME`, `PREFERENCE`, `VALUE`) VALUES 
    ('PORTAL2', 'phoenix.subscription.host.enabled', '1')
;
-- --------------------------------------------------

INSERT INTO `version` (`VERSION`, `LAST_MODIFIED_TIME`) VALUES 
    ('2021-02-17', NOW())
;
-- --------------------------------------------------
