Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
NullPointerException with PostgreSQL multi-statement CREATE RULE #2228
Which version and edition of Flyway are you using?
Flyway Community Edition 5.2.3 by Boxfuse
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line and Java API.
Which database are you using (type & version)?
Which operating system are you using?
Mac OS, Linux.
What did you do?
The following migration
What did you expect to see?
A successfully applied migration as the above syntax is accepted by PostgreSQL.
What did you see instead?
The error disappears if a terminating semicolon is included in the rule. Related to issue #2202. Although the original problem was resolved, the problem reoccurs when using a rule with two statements. This is a regression since version 5.0.7.