Unable to clean schema that contains function calling another function and both have SCHEMABINDING #1463
What version of Flyway are you using?
Flyway 4.0.3 by Boxfuse
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
What database are you using (type & version)?
Microsoft SQL Server Standard (64-bit) 2012 (11.0.3000.0)
What operating system are you using?
Windows 10 Pro Version 1607 OS Build 14393.447
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
CREATE FUNCTION dbo.fnA() RETURNS VARCHAR(50) WITH SCHEMABINDING AS BEGIN RETURN 'function a'; END;
CREATE FUNCTION dbo.fnB() RETURNS VARCHAR(50) WITH SCHEMABINDING AS BEGIN RETURN dbo.fnA(); END;
What did you expect to see?
If you remove the
What did you see instead?
I'm curious if you need to remove items in reverse creation order? IE, It looks like you're doing this.
but maybe modify it to this
The text was updated successfully, but these errors were encountered: