Migration fails in SQL Server v15 (2019)

Issue #491 new
Ryan Bottema created an issue

Removing unique together constraint for GroupLinkerInstance causes migration to fail when using MS SQL Server v15.

Migration in question is service_log.0021.


django.db.utils.ProgrammingError: ('42000', "[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An explicit DROP INDEX is not allowed on index 'service_log_grouplinkerinstance.service_log_grouplinkerinstance_service_event_id_group_linker_id_97f19210_uniq'. It is being used for UNIQUE KEY constraint enforcement. (3723) (SQLExecDirectW)")

Comments (3)

  1. Log in to comment