Skip to content

Commit

Permalink
Addresses error in constraint migration, re #4375
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Mar 28, 2019
1 parent f2c6592 commit 8abcf12
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ class Migration(migrations.Migration):
('card', models.ForeignKey(
db_column='cardid',
on_delete=django.db.models.deletion.CASCADE,
to='models.CardModel')),
('uniquetoallinstances', models.BooleanField(default=False)),
to='models.CardModel'))
],
options={
'db_table': 'card_constraints',
Expand Down Expand Up @@ -52,4 +51,9 @@ class Migration(migrations.Migration):
name='nodes',
field=models.ManyToManyField(through='models.ConstraintXNode', to='models.Node'),
),
migrations.AddField(
model_name='constraintmodel',
name='uniquetoallinstances',
field=models.BooleanField(default=False),
),
]

0 comments on commit 8abcf12

Please sign in to comment.