grails-plugins/grails-database-migration — pull request #14 by plalloni (2012-06-15 16:12:36+00:00)
Title: Database schemas support improvements

* Use schema defined in domain classes' mappings in liquibase db snapshots' Table for correct changelog generation including the target schema
* Support default schema as defined in gorm/hibernate properties for migrations: avoid needing to specify the schema in every domain class' mapping when it isn't the same as the jdbc connection default schema
* Control migration target schema: can limit migrations DDL to a single schema (ignoring changes to other schemas) to interoperate nicely with grails plugins with domain classes in read-only externally managed schemas. This is controlled with a new parameter --schema in dbm-gorm-diff and dbm-generate-gorm-changelog commands or with a new configuration option grails.plugin.databasemigration.schema (overridable with the former).