📜  django 查看迁移后的 sql - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:49.356000             🧑  作者: Mango

代码示例1
# Use the sqlmigrate command from manage.py.
python manage.py sqlmigrate  
# example:
python manage.py sqlmigrage pages 0001
# output:
# CREATE TABLE... SQL