统一ArtList与Salon历史命名
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
-- 将已部署库中的旧来源标识迁移到双端新命名。
|
||||
-- 适用于已经执行过初始化 SQL 的 ArtList 和 Salon 数据库;新空库无需单独执行。
|
||||
START TRANSACTION;
|
||||
|
||||
UPDATE jayucloud_artlist.t_messagehub_push_config
|
||||
SET source_system = 'jayucloud-artlist'
|
||||
WHERE source_system IN ('fingertipdesigner', 'fingertip-designer', 'FingertipDesigner');
|
||||
|
||||
UPDATE jayucloud_salon.t_messagehub_push_config
|
||||
SET source_system = 'jayucloud-salon'
|
||||
WHERE source_system IN ('fingertipdesigner', 'fingertip-designer', 'FingertipDesigner');
|
||||
|
||||
UPDATE jayucloud_artlist.t_legal_agreement
|
||||
SET content = REPLACE(content, 'Fingertip Designer', 'JayuCloud ArtList')
|
||||
WHERE content LIKE '%Fingertip Designer%';
|
||||
|
||||
ALTER TABLE jayucloud_artlist.t_messagehub_push_config
|
||||
COMMENT = 'JayuCloud ArtList 按业务场景投递 MessageHub 的配置';
|
||||
|
||||
ALTER TABLE jayucloud_salon.t_messagehub_push_config
|
||||
COMMENT = 'JayuCloud Salon 按业务场景投递 MessageHub 的配置';
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user