From 23ce639e5c54404c73852810613ebb5b8ac9a303 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 2 Feb 2021 09:41:24 -0800 Subject: [PATCH] migration to change privacy field type --- .../migrations/0042_auto_20210201_2108.py | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bookwyrm/migrations/0042_auto_20210201_2108.py diff --git a/bookwyrm/migrations/0042_auto_20210201_2108.py b/bookwyrm/migrations/0042_auto_20210201_2108.py new file mode 100644 index 00000000..95a144de --- /dev/null +++ b/bookwyrm/migrations/0042_auto_20210201_2108.py @@ -0,0 +1,28 @@ +# Generated by Django 3.0.7 on 2021-02-01 21:08 + +import bookwyrm.models.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('bookwyrm', '0041_auto_20210131_1614'), + ] + + operations = [ + migrations.AlterModelOptions( + name='list', + options={'ordering': ('-updated_date',)}, + ), + migrations.AlterField( + model_name='list', + name='privacy', + field=bookwyrm.models.fields.PrivacyField(choices=[('public', 'Public'), ('unlisted', 'Unlisted'), ('followers', 'Followers'), ('direct', 'Direct')], default='public', max_length=255), + ), + migrations.AlterField( + model_name='shelf', + name='privacy', + field=bookwyrm.models.fields.PrivacyField(choices=[('public', 'Public'), ('unlisted', 'Unlisted'), ('followers', 'Followers'), ('direct', 'Direct')], default='public', max_length=255), + ), + ]