grails-plugins/grails-database-migration — pull request #11 by zanthrash (2012-05-29 15:26:01+00:00)
Title: Update grails-database-migration plugin to work with multiple datasources

Most dbm scripts now accept a '--dataSource=[dataSource]' flag where the user can determine what dataSource the script is to be run against.

User can configure the plugin to use multiple dataSources in the Config.groovy file e.g:

`grails.plugin.databasemigration.reports.updateOnStart = true`
`grails.plugin.databasemigration.reports.updateOnStartFileNames = ['changelog-reports.groovy']`

- All scripts and integration tests have been updated to work with multiple data sources in Grails 2.0.x

- All gdocs have been updated to reflect the changes to the scripts.

- The 'migrationstest' sample app has been updated to demonstrate multiple datasources as has the run_test_app.sh script.