Files
geedge-jira/md/OMPUB-336.md
2025-09-14 21:52:36 +00:00

29 lines
1.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 提供App Sketch DB数据回滚脚本或者说明文档
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-336 | 2022-01-27T10:12:29.000+0800 | 雷军 | 完成 |
---
E21现场App Sketch DB计划1.560.2-20版本升级至1.570.0-20版本【界面菜单System->System Updates】在Mariadb数据库中的体现为APP_ID_DICT表中新增29个App具体新增App ID详见文档
[https://files.geedge.net/lib/1f29b729-469f-4541-8b81-f22585213e85/file/E%E7%8E%B0%E5%9C%BAAPP%20Sketch%20DB/TSG21.11/APP%20Sketch%20DB%201.570.0-21.11.0119/APP%20Sketch%20DB%E5%8D%87%E7%BA%A7%E8%AF%B4%E6%98%8E.pdf]
 
需准备升级失败数据回滚的SQL脚本和界面操作说明
方案一【推荐】:
# 在界面System->System Updatesinstall 1.560.2-20版本的升级记录
# 将上述1.570.0-20版本新增的App改为非内置状态即is_initialize设置为0提供更新SQL执行脚本
# 从界面将上述新增App删除{*}{color:#de350b}不要用SQL执行删除较多关联数据需要关联删除从界面删除方可删除干净。{color}{*}
方案二:
# 在升级之前MariaDB全库备份
# 如升级失败,全库回滚
## Attachments