Don't use unique_together in HostingServiceAccount.

Review Request #4420 — Created Aug. 12, 2013 and submitted

Information

Review Board
release-1.7.x

Reviewers

Don't use unique_together in HostingServiceAccount.

The unique_together constraint broke several MySQL instances, due to the
combined key name length being too long when using UTF-8.

This particular index isn't that useful to us in practice, so nuke it
until we know more about why this fails.

Any existing tables that have this successfully added should continue to
be fine. Any new ones won't have it. Django-Evolution doesn't get
involved with unique_together, so there's no evolution to ship.
Ran a syncdb without problems.

Checked that django-evolution didn't care.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/hostingsvcs/models.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/hostingsvcs/models.py
      Ignored Files:
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Loading...