Commit 231de02e authored by wojiushixiaobai's avatar wojiushixiaobai

更新文档

parent 582454a5
...@@ -117,17 +117,7 @@ FAQ ...@@ -117,17 +117,7 @@ FAQ
:: ::
$ cd /opt/jumpserver/apps # 数据库表结构文件丢失,请参考离线升级文档,把备份的数据库表文件还原
$ python manage.py makemigrations
$ python manage.py migrate --fake
$ find . | grep migrations | grep apps | grep -v 'pyc' | grep -v '__init__'
# 把这里的内容和下面数据库查询的内容对比
# mysql -uroot
> use jumpserver;
> select * from django_migrations;
# 如果对比结果不一样则无法升级
> quit;
9. 设置浏览器过期 9. 设置浏览器过期
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment