Browse files

fix evildmp/Arkestra#68 clean syncdb and migrate was failing on mysql…

… because cache was not being recreated between migrations
  • Loading branch information...
1 parent 978cc5e commit 8fa59771728a7d556107608b1e50c502bbac87fb @darbula darbula committed Mar 12, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 contacts_and_people/migrations/0003_renaming_column_personlite_title.py
View
1 contacts_and_people/migrations/0003_renaming_column_personlite_title.py
@@ -8,6 +8,7 @@
class Migration(SchemaMigration):
def forwards(self, orm):
+ db._constraint_cache = {} # force _fill_constraint_cache()
db.rename_column('contacts_and_people_personlite', 'title_id', 'title_backup_id')
db.add_column('contacts_and_people_personlite', 'title', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True), keep_default=False)

0 comments on commit 8fa5977

Please sign in to comment.