Skip to content

Commit 2119d2f

Browse files
committed
seperating out the state breaks initial migration
1 parent c285c4d commit 2119d2f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

nadine/migrations/0001_initial.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Migration(migrations.Migration):
1515
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
1616
]
1717

18-
state_operations = [
18+
operations = [
1919
migrations.CreateModel(
2020
name='Bill',
2121
fields=[
@@ -392,8 +392,4 @@ class Migration(migrations.Migration):
392392
field=models.ForeignKey(related_name='guest_bills', blank=True, to='nadine.Member', null=True),
393393
preserve_default=True,
394394
),
395-
]
396-
397-
operations = [
398-
migrations.SeparateDatabaseAndState(state_operations=state_operations)
399-
]
395+
]

0 commit comments

Comments
 (0)