I'm trying to execute the Flyway migration to drop fulltext index but it could not be run inside the migration:
DROP FULLTEXT INDEX ON BusinessEntity
It throws an error:
Message: DROP FULLTEXT INDEX statement cannot be used inside a user transaction.
As I understand from the documentation:
Flyway runs each migration in a separate transaction.
I am interesting is there any way to run SQL code outside the migration or somehow turn it off for certain?