Modify

Ticket #952 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years 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@…> 2 years ago.

Change History

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

comment:1 Changed 2 years ago by andrew

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

Fixed in [e8ff46478c6d]. Thanks!

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.