Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sql file callbacks does not work with empty sqlMigrationPrefix #1165

Closed
jdoose opened this issue Jan 18, 2016 · 0 comments
Closed

Sql file callbacks does not work with empty sqlMigrationPrefix #1165

jdoose opened this issue Jan 18, 2016 · 0 comments

Comments

@jdoose
Copy link

@jdoose jdoose commented Jan 18, 2016

If the sqlMigrationPrefix is explicitly set to none ("flyway.sqlMigrationPrefix=") the Sql file callbacks do not work:
ERROR: Wrong migration name format: afterEachMigrate.sql (it should look like this: 1_2__Description.sql)

A workaround is to use an sql migration prefix (or the default).

@axelfontaine axelfontaine added this to the Flyway 4.0 milestone Jan 18, 2016
axelfontaine added a commit to flyway/flywaydb.org that referenced this issue Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants