从0.22退回0.21 #3522
navee
started this conversation in
Show and tell
从0.22退回0.21
#3522
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
原理
以sqlite为例,找到0.22版本数据库迁移脚本:
https://github.com/usememos/memos/tree/7375b879677e31a1c549dfa21f36cce2aaa16f4b/store/db/sqlite/migration/prod/0.22
主要删除了tag表,以及resource表的两个字段:
store/db/sqlite/migration/prod/0.22/00__resource_storage_type.sql
store/db/sqlite/migration/prod/0.22/03__drop_tag.sql
恢复数据库
还是以上面sqlite的变更为例:
Beta Was this translation helpful? Give feedback.
All reactions