一键导入
django-run-migrations
Steps for generating and applying Django migrations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Steps for generating and applying Django migrations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Steps for creating or modifying Django forms and adding validation
Steps for adding a new Django REST Framework API endpoint
Steps for creating or modifying a Django model
Steps for initiating the Django development server without Docker
Docker Compose, container services, deployment
How to update project documentation
| name | django-run-migrations |
| description | Steps for generating and applying Django migrations |
Use this skill continuously after modifying any models.py schema logic to apply the changes to the database.
cd app/python manage.py makemigrationspython manage.py migrate.py migration output to ensure logical alignment with your model edits.If your changes in Django models don't cause a change in the actual database schema, you don't need to create a migration at all.
Typical changes that do not affect the DB schema include:
choicesverbose_namehelp_textIn these cases:
makemigrations just to capture these metadata-only changes.