Replies: 1 comment
-
升级方案版本不兼容的相关issue:https://github.com/actiontech/sqle/issues?q=is%3Aissue+milestone%3Av1.2207.0+is%3Aclosed+label%3Anot_compatible 因此老版本升级需要在升级前在SQLE的库执行下面SQL (以下假设后端库为sqle): /* For issue #694 */
UPDATE sqle.rules SET db_type='MySQL' WHERE BINARY db_type='mysql';
UPDATE sqle.audit_plans SET db_type='MySQL' WHERE BINARY db_type='mysql';
UPDATE sqle.instances SET db_type='MySQL' WHERE BINARY db_type='mysql';
UPDATE sqle.rule_templates SET db_type='MySQL' WHERE BINARY db_type='mysql';
UPDATE sqle.tasks SET db_type='MySQL' WHERE BINARY db_type='mysql';
UPDATE sqle.rule_templates SET name='default_MySQL' WHERE BINARY name='default_mysql';
/* For issue #695 */
update `sqle`.`rule_template_rule` set `db_type` = (select `db_type` from `sqle`.`rule_templates` where `rule_templates`.`id` = `rule_template_id`);
/* For issue #646 */
alter table sqle.audit_plan_sqls_v2
change sql_content sql_content mediumtext not null COLLATE utf8mb4_unicode_ci; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Notes
Feature
Improment
Bugfix
This discussion was created from the release v1.2207.0.
Beta Was this translation helpful? Give feedback.
All reactions