feat: add message mutation sync

This commit is contained in:
richjohnrambo
2026-09-15 15:54:52 +08:00
parent 55afd976c9
commit bc27a5c574
12 changed files with 949 additions and 13 deletions
+1 -1
View File
@@ -1317,6 +1317,7 @@ CREATE TABLE IF NOT EXISTS `im_topics` (
`seqid` bigint NOT NULL DEFAULT '0',
`delid` int DEFAULT '0',
`subcnt` int DEFAULT '0',
`mutation_version` bigint NOT NULL DEFAULT '0',
`public` json DEFAULT NULL,
`trusted` json DEFAULT NULL,
`tags` json DEFAULT NULL,
@@ -1617,4 +1618,3 @@ VALUES (2,'system', 'system merchant', 'system default merchant', 'meeting_im',
INSERT INTO `hotgo`.`im_tenant_config` (`tenant_id`, `max_users`, `max_groups`, `max_group_members`, `created_by`, `updated_by`)
VALUES (2, 0, 0, 0, 0, 0)
ON DUPLICATE KEY UPDATE `updated_at` = CURRENT_TIMESTAMP(3);