Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
fix #68 clean syncdb and migrate was failing on mysql because cache w…
Browse files Browse the repository at this point in the history
…as not being recreated between migrations
  • Loading branch information
darbula committed Mar 12, 2013
1 parent 978cc5e commit 8fa5977
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 8fa5977

Please sign in to comment.