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:
Keith Woodlock
2012-07-23 18:16:52 +01:00
parent de49ed95ae
commit 9e2d9340f7
12 changed files with 71 additions and 149 deletions
@@ -5,6 +5,10 @@ CREATE TABLE `mifosplatform-tenants`.`tenants` (
`identifier` varchar(100) NOT NULL,
`name` varchar(100) NOT NULL,
`schema_name` varchar(100) NOT NULL,
`schema_server` varchar(100) NOT NULL DEFAULT 'localhost',
`schema_server_port` varchar(10) NOT NULL DEFAULT '3306',
`schema_username` varchar(100) NOT NULL DEFAULT 'root',
`schema_password` varchar(100) NOT NULL DEFAULT 'mysql',
`timezone_id` int(11) DEFAULT NULL,
`country_id` int(11) DEFAULT NULL,
`joined_date` date DEFAULT NULL,