Skip to content

Conversation

@ejrtks1020
Copy link
Contributor

Fixes a MariaDB-specific SQL syntax error during typeorm migration:revert.

When reverting a migration, TypeORM generates queries using double quotes for identifiers, which is invalid in MariaDB. This PR updates the query to use backticks instead.

Before:

ALTER TABLE "evaluation_run" DROP COLUMN "errors";

After:

ALTER TABLE `evaluation_run` DROP COLUMN `errors`;

Affects only MariaDB users during migration rollback.

Copy link
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@HenryHengZJ HenryHengZJ merged commit 8793ed6 into FlowiseAI:main Jun 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants