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

升级godoc时,把我之前的mysql全部给删除了,唉 #16

Closed
ahai88 opened this issue May 11, 2017 · 3 comments
Closed

升级godoc时,把我之前的mysql全部给删除了,唉 #16

ahai88 opened this issue May 11, 2017 · 3 comments

Comments

@ahai88
Copy link

@ahai88 ahai88 commented May 11, 2017

No description provided.

@lifei6671
Copy link
Owner

@lifei6671 lifei6671 commented May 11, 2017

覆盖升级不能删除install.lock文件,这个文件是用来标识是否安装过。如果删了,会自动再初始化一次数据库。

@wolcengit
Copy link

@wolcengit wolcengit commented May 14, 2017

使用容器也悲剧了,测试就没有没有去挂载卷,每次都被重新初始化,是否可以依据数据库中表格是否存在,表格中数据是否存在来判断是否需要初始化呢?

@lifei6671
Copy link
Owner

@lifei6671 lifei6671 commented May 14, 2017

@wolcengit 新版会去掉自动初始化数据库的功能,改为手动初始化。

@lifei6671 lifei6671 closed this May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants