django数据迁移命令
作者:互联网
D:\pythonspacen\djano\guest>python manage.py makemigrations sign
Migrations for 'sign':
sign\migrations\0001_initial.py
- Create model Event
- Create model Guest
- Alter unique_together for guest (1 constraint(s))
D:\pythonspacen\djano\guest>python manage.py migrate
Operations to perform:
Apply all migrations: admin, auth, contenttypes, sessions, sign
Running migrations:
Applying sign.0001_initial... OK
D:\pythonspacen\djano\guest>
标签:djano,guest,py,migrations,sign,命令,pythonspacen,迁移,django 来源: https://blog.51cto.com/357712148/2374611