ebean-orm / ebean-migration

DB Migration runner (similar to Flyway) which can be used standalone or with Ebean (run migrations on EbeanServer start)
Apache License 2.0
9 stars 5 forks source link

Ignore inner classes in JdbcMigrations #71

Closed focdanisch closed 5 years ago

focdanisch commented 5 years ago

Hi Rob,

we want to use inner classes in our JdbcMigrations. Unfortunately, the current implementation tries to cast inner classes to JdbcMigration, which of course fails. I excluded all paths which contain '$' and enhanced the test entity accordingly. Without the modification to LocalMigrationResources, the MigrationTableTest fails.

Best regards, Manuel

rbygrave commented 5 years ago

Yes, I'm happy with this. Merging. Thanks.