Skip to content

Commit ae769f9

Browse files
authored
Update config.md
1 parent 98cfc50 commit ae769f9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bin/config.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,10 @@ SERVER_EMAIL = os.environ.get('DJANGO_EMAIL_USER')
5353

5454

5555
也就是说,需要在代码块开始位置加入这段代码对应的语言。
56+
57+
## update
58+
如果你发现执行数据库迁移的时候出现如下报错:
59+
```python
60+
django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table ((1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL)' at line 1"))
61+
```
62+
可能是因为你的mysql版本低于5.6,需要升级mysql版本>=5.6即可。

0 commit comments

Comments
 (0)