提交 23b5c989 authored 作者: 苏星豪's avatar 苏星豪

update:readme新增migration说明

上级 cce5e2ae
...@@ -7,4 +7,25 @@ ...@@ -7,4 +7,25 @@
22-11-23:测试环境新增CI/CD,以后合并代码至test分支后,测试服务器(36.133.149.222:8848)将自动拉取最新代码并部署(DEBUG模式) 22-11-23:测试环境新增CI/CD,以后合并代码至test分支后,测试服务器(36.133.149.222:8848)将自动拉取最新代码并部署(DEBUG模式)
**_TODO: 服务器环境需要建立一个conda._** **_TODO: 服务器环境需要建立一个conda._**
# requirements: # requirements:
django 3.1.4 django 3.1.4
\ No newline at end of file
## 查询是否有未运行的migration,前面没得X的就是没运行的:
`
PS C:\Program Files\Python36> .\python.exe E:\datacenter\manage.py showmigrations
E:\datacenter\utils\views.py:29: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
from cryptography.fernet import Fernet
admin
[X] 0001_initial
[X] 0002_logentry_remove_auto_add
[X] 0003_logentry_add_action_flag_choices
auth
[X] 0001_initial
[X] 0002_alter_permission_name_max_length
[X] 0003_alter_user_email_max_length
[X] 0004_alter_user_username_opts
[X] 0005_alter_user_last_login_null
[X] 0006_require_contenttypes_0002
[X] 0007_alter_validators_add_error_messages
[X] 0008_alter_user_username_max_length
[X] 0009_alter_user_last_name_max_length
`
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论