This commit is contained in:
Your Name
2026-11-26 15:46:20 +08:00
parent db6d327e91
commit be79e09c83
170 changed files with 21159 additions and 13217 deletions
@@ -0,0 +1,5 @@
-- 现有业务库升级和新库建表后均执行一次。空值表示历史记录未经租户验证。
ALTER TABLE `zyt_assistant_service_alert`
ADD COLUMN `archive_tenant_id` varchar(64) CHARACTER SET ascii COLLATE ascii_bin NOT NULL DEFAULT '' AFTER `source_key`,
DROP INDEX `uk_channel_source_rule`,
ADD UNIQUE KEY `uk_channel_source_rule` (`channel`,`archive_tenant_id`,`source_id`,`source_key`,`rule_code`);