uses enum for post privacy database field
This commit is contained in:
parent
b30fa2863f
commit
6243cf0e4a
2 changed files with 30 additions and 1 deletions
18
bookwyrm/migrations/0057_auto_20201026_2131.py
Normal file
18
bookwyrm/migrations/0057_auto_20201026_2131.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.0.7 on 2020-10-26 21:31
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('bookwyrm', '0056_auto_20201021_0150'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='status',
|
||||
name='privacy',
|
||||
field=models.CharField(choices=[('public', 'Public'), ('unlisted', 'Unlisted'), ('followers', 'Followers'), ('direct', 'Direct')], default='public', max_length=255),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue