Ticket #952 (closed defect: fixed)

Opened 3 years ago

Last modified 8 weeks ago

Removing uniqueness constraint on column fails

Reported by: treyhunner@… Owned by: andrew
Priority: minor Milestone: 1.0
Component: migrations Version: mercurial
Keywords: Cc:

Description

Column names used in constraints on tables may not always use the same case as column names as given in Django. For example, MySQL uses case-insensitive column names.

This patch adds case insensitive matching to the DatabaseOperations?._constraints_affecting_columns function in the generic module:
https://bitbucket.org/treyhunner/constraint-comparison-fix

Attachments

constraint-comparison-fix (789 bytes) - added by Trey Hunner <treyhunner@…> 3 years ago.

Change History

Changed 3 years ago by Trey Hunner <treyhunner@…>

comment:1 Changed 3 years ago by andrew

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 1.0

Fixed in [e8ff46478c6d]. Thanks!

Note: See TracTickets for help on using tickets.