版本更新,初始化数据库。 之前的数据是会丢失吗? #260

Closed
opened 2026-02-21 17:26:33 -05:00 by yindo · 1 comment
Owner

Originally created by @limuan123 on GitHub (Jul 12, 2023).

我是源码本地部署的前后端,更新版本,执行 flask db upgrade ,数据会丢失吗? 因为不执行这个命令。 启动就会报错。这个请问怎么能更新版本 保留之前数据呢。

Originally created by @limuan123 on GitHub (Jul 12, 2023). 我是源码本地部署的前后端,更新版本,执行 flask db upgrade ,数据会丢失吗? 因为不执行这个命令。 启动就会报错。这个请问怎么能更新版本 保留之前数据呢。
yindo closed this issue 2026-02-21 17:26:33 -05:00
Author
Owner

@crazywoola commented on GitHub (Jul 12, 2023):

no it won't clean the db

@crazywoola commented on GitHub (Jul 12, 2023): no it won't clean the db
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#260