Which version and edition of Flyway are you using?
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Which database are you using (type & version)?
Which operating system are you using?
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
We have multiple files containing procedure definitions which are combined into a single placeholder:
Expected each procedure to be created. This works fine in 5.0.7
What did you see instead?
A single procedure is created containing the combined text -
create or replace PROCEDURE proc1 ( name IN VARCHAR2)
CREATE OR REPLACE PROCEDURE proc2 ( name IN VARCHAR2)
If I replace the placeholder in the migration script with the combined text then everything works. So it looks like it is something to do with the placeholder replacement with multiple procedure creation statements. If there is only one input file then it works fine.
The text was updated successfully, but these errors were encountered: