mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
Rig up south to be happy with two of our models that FK to one another circularly.
This commit is contained in:
parent
bb7e5dd9f5
commit
d2d86871e9
3 changed files with 20 additions and 7 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue