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>

django数据迁移命令

创新互联是一家专业提供利辛企业网站建设,专注与成都做网站、成都网站设计、H5响应式网站、小程序制作等业务。10年已为利辛众多企业、政府机构等服务。创新互联专业网站设计公司优惠进行中。


当前名称:django数据迁移命令
文章URL:http://scyanting.com/article/pghjps.html