Does Django's south (migration tool) work for innodb?

后端 未结 4 1053
余生分开走
余生分开走 2021-01-01 04:39
$ py manage.py  migrate turkey
Running migrations for turkey:
 - Migrating forwards to 0001_initial.
 > turkey:0001_initial
 ! Error found during real run of migr         


        
4条回答
  •  Happy的楠姐
    2021-01-01 05:06

    Yes, South does support InnoDB. Can you delete the contents of your "migrations" folder, and re-run schemamigration, migrate, and post the results and contents of the 0001_initial file here? PS: Make sure you have your migrations folder backed up or in source control first.

    rm -fr app/migrations/*
    ./manage.py schemamigration app --initial
    ./manage.py migrate app
    

提交回复
热议问题