Created
September 6, 2015 12:04
-
-
Save vishwasbabu/03ed5d3bc3c2687807b9 to your computer and use it in GitHub Desktop.
Creating new Tenants on the demo server (with default data)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use `mifosplatform-tenants`; | |
| INSERT INTO `tenant_server_connections` (`schema_name`) VALUES ('mifostenant-reference'); | |
| INSERT INTO `tenants` (`identifier`, `name`, `oltp_id`, `report_id`, `timezone_id`) VALUES ('reference', 'reference', ( select id from tenant_server_connections where schema_name="mifostenant-reference"), (select id from tenant_server_connections where schema_name="mifostenant-reference"), 'Asia/Kolkata'); | |
| create database `mifostenant-reference`; | |
| use `mifostenant-reference`; | |
| source load_sample_data.sql ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment