removed hardcoded usuage of database user and password and allow this to be configured/changed in tenants table for each possible tenant.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- update display symbol for myanmar kyat.
|
||||
|
||||
UPDATE `ref_currency` SET `display_symbol` = 'K' WHERE id=92;
|
||||
|
||||
UPDATE `org_organisation_currency` SET `display_symbol` = 'K' WHERE id=92;
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
-- add extra columns to externalise hard-coded tenant information
|
||||
|
||||
ALTER TABLE `mifosplatform-tenants`.`tenants`
|
||||
ADD COLUMN `schema_server` varchar(100) NOT NULL DEFAULT 'localhost';
|
||||
|
||||
ALTER TABLE `mifosplatform-tenants`.`tenants`
|
||||
ADD COLUMN `schema_server_port` varchar(10) NOT NULL DEFAULT '3306';
|
||||
|
||||
ALTER TABLE `mifosplatform-tenants`.`tenants`
|
||||
ADD COLUMN `schema_username` varchar(100) NOT NULL DEFAULT 'root';
|
||||
|
||||
ALTER TABLE `mifosplatform-tenants`.`tenants`
|
||||
ADD COLUMN `schema_password` varchar(100) NOT NULL DEFAULT 'mysql';
|
||||
Reference in New Issue
Block a user