Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect detection of GO keyword inside identifiers #2414
Which version and edition of Flyway are you using?
Flyway Community Edition 6.0.0-beta2 by Boxfuse
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)
Issue only occurs on Flyway 6.0.0-beta2. Issue does not occur on Flyway 5.2.4
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Which database are you using (type & version)?
SQL Server 2017 Developer Edition
Which operating system are you using?
Windows 10, 1903
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.)
Create a migration with the following SQL statements, which are valid in SQL Server. Run "flyway migrate":
CREATE OR ALTER PROCEDURE [dbo].[Test] AS BEGIN DECLARE @DoNotGO INT; RETURN 0; END;
What did you expect to see?
Migrations successfully applied.
What did you see instead?
It looks like Flyway is interpreting the
CREATE OR ALTER PROCEDURE [dbo].[Test] AS BEGIN DECLARE @DoNotgo INT; RETURN 0; END;