You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which version and edition of Flyway are you using?
6.1.0
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
CLI
Which database are you using (type & version)?
Postgres 12
Which operating system are you using?
Windows
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.)
flyway migrate followed by flyway clean for the following migration:
CREATE PROCEDURE insert_data(a VARCHAR, b VARCHAR)
LANGUAGE SQL
AS $$
INSERT INTO test_data VALUES (a);
INSERT INTO test_data VALUES (b);
$$;
What did you expect to see?
Clean succeeds.
What did you see instead?
Clean fails with:
org.flywaydb.core.internal.exception.FlywaySqlException:
Unable to clean schema "public"
-------------------------------
SQL State : 42809
Error Code : 0
Message : ERROR: public.insert_data(character varying, character varying) is not a function
The text was updated successfully, but these errors were encountered:
Which version and edition of Flyway are you using?
6.1.0
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
CLI
Which database are you using (type & version)?
Postgres 12
Which operating system are you using?
Windows
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.)
flyway migrate
followed byflyway clean
for the following migration:What did you expect to see?
Clean succeeds.
What did you see instead?
Clean fails with:
The text was updated successfully, but these errors were encountered: