Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🙋 问题交流 如何升级版本 #242

Closed
aosolao opened this issue Aug 4, 2023 · 3 comments
Closed

🙋 问题交流 如何升级版本 #242

aosolao opened this issue Aug 4, 2023 · 3 comments
Labels
question Further information is requested

Comments

@aosolao
Copy link

aosolao commented Aug 4, 2023

Question Report

我的服务是跑在k8s环境中的。
之前使用go-ldap-admin-server:2022-08-06_03-23 这个版本跑了好久,也有不少数据了。
最近想更新到最新版本eryajf/go-ldap-admin-server:2023-07-20_12-53
数据库结构看起来有不少变化,应该如何更新呢?

@aosolao aosolao added the question Further information is requested label Aug 4, 2023
@eryajf
Copy link
Collaborator

eryajf commented Aug 4, 2023

您好 @aosolao👋,我已收到您的反馈,我将安排时间考虑您提交的信息并进行回复。-- 这条信息是由自动回复的机器人发出的。

Hello @aosolao. I have received your feedback, and I will arrange time to consider the information you submitted and reply. -- This message is sent by an automatic reply robot.

@eryajf
Copy link
Collaborator

eryajf commented Aug 7, 2023

这是个很好的问题,说实话,项目迭代过程中,我的确忽视了这一环节。要想从22-08直接升级到当前版本,我觉得只有将数据备份,然后升级,或者拉个新的环境,尝试将数据导入,进行模拟升级,然后再正式升级。

@aosolao
Copy link
Author

aosolao commented Aug 8, 2023

建议可在后续发布新版本时创建一个数据库更新sql脚本。针对前一个版本的数据表结构做调整。
目前我打算新建一个平台手动录入用户数据,不折腾数据库避免损坏数据。
这个工单可以关闭啦。

@aosolao aosolao closed this as completed Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants