Rig up south to be happy with two of our models that FK to one another circularly.

This commit is contained in:
Greg Taylor 2011-03-24 21:07:09 +00:00
parent bb7e5dd9f5
commit d2d86871e9
3 changed files with 20 additions and 7 deletions

View file

@ -6,8 +6,13 @@ from django.db import models
class Migration(SchemaMigration):
#depends_on = (
# ("players", "0001_initial"),
# ("comms", "0001_initial"),
#)
def forwards(self, orm):
# Adding model 'Msg'
db.create_table('comms_msg', (
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
@ -44,7 +49,7 @@ class Migration(SchemaMigration):
def backwards(self, orm):
# Deleting model 'Msg'
db.delete_table('comms_msg')