mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 13:01:08 +00:00
Add migration
This commit is contained in:
parent
a0093a8a2e
commit
bc7de410b7
1 changed files with 23 additions and 0 deletions
23
bookwyrm/migrations/0119_user_feed_status_types.py
Normal file
23
bookwyrm/migrations/0119_user_feed_status_types.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Generated by Django 3.2.5 on 2021-11-21 23:28
|
||||
|
||||
import django.contrib.postgres.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("bookwyrm", "0118_alter_user_preferred_language"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="user",
|
||||
name="feed_status_types",
|
||||
field=django.contrib.postgres.fields.ArrayField(
|
||||
base_field=models.CharField(max_length=10),
|
||||
default=["review", "comment", "quotation", "everything"],
|
||||
size=8,
|
||||
),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue