I\'ve set up a migration script for my multi-tenant application. the problem was. it\'s only generating the scripts for the first tenant/schema I\'ve specified on the parame
To create multiple identical schemas you have to invoke Flyway once for each schema, with the flyway.schemas property set the to correct value. Flyway will then set the correct schema as the default one, letting you run your migration scripts unchanged (as long as you don't prefix the object names).
Please find recommendations from flyway as in
http://flywaydb.org/documentation/faq.html#multiple-schemas
Hope this helps.