fix migrations

There was a conflict due to the order of migrations. Hopefully this commit fixes it!
This commit is contained in:
Hugh Rundle 2022-07-10 09:53:43 +10:00
parent ab5e4128e6
commit e1acdd0062

View file

@ -1,7 +1,6 @@
# Generated by Django 3.2.13 on 2022-06-13 01:59
# Generated by Django 3.2.14 on 2022-07-09 23:33
import bookwyrm.models.fields
from django.db import migrations
from django.db import migrations, models
def existing_users_default(apps, schema_editor):
@ -13,14 +12,14 @@ def existing_users_default(apps, schema_editor):
class Migration(migrations.Migration):
dependencies = [
("bookwyrm", "0150_readthrough_stopped_date"),
("bookwyrm", "0153_merge_20220706_2141"),
]
operations = [
migrations.AddField(
model_name="user",
name="show_guided_tour",
field=bookwyrm.models.fields.BooleanField(default=True),
field=models.BooleanField(default=True),
),
migrations.RunPython(existing_users_default, migrations.RunPython.noop),
]