flyway-play icon indicating copy to clipboard operation
flyway-play copied to clipboard

Apply migrations on specific Database object

Open swsnr opened this issue 8 years ago • 5 comments

Is there a way to apply Flyway migrations on a specific Database objects, such as one that comes from Databases.withDatabase?

swsnr avatar Mar 08 '16 16:03 swsnr

No, flyway-play is independent on database API of Play.

tototoshi avatar Apr 09 '16 02:04 tototoshi

@tototoshi Well, so I presume there's no way to get a list of all migrations for a particular database from flyway-play either, so that we can manually apply these?

swsnr avatar Apr 09 '16 09:04 swsnr

@lunaryorn Applying migration on each database can be done from admin page (http://localhost:9000/@flyway). or does "manually apply" mean "programmatically apply"?

tototoshi avatar Apr 09 '16 11:04 tototoshi

Yes, the latter. Sorry my comment was really misleading 😔

swsnr avatar Apr 09 '16 13:04 swsnr

No problem. I'm trying to fix it and want you to review it. Please wait some time.

tototoshi avatar Apr 12 '16 09:04 tototoshi