[Fixed]-Django pymssql migration

1👍

You might check your verison of django-mssql, I believe 1.7+ isn’t supposed to have this issue anymore.

Try running the following against the database:

alter table [user] drop constraint [UQ__auth_use__F3DBC5726EFED139];
drop index  [UQ__auth_use__F3DBC5726EFED139] on [user];

And rerun manage.py migrate.

Drop Constraint Failed – unable to drop index with ALTER TABLE DROP CONSTRAINT

👤SqlZim

Leave a comment