mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 09:31:08 +00:00
Added invite question migration
This commit is contained in:
parent
5dbee33185
commit
1b4e532f90
1 changed files with 29 additions and 0 deletions
29
bookwyrm/migrations/0145_auto_20220312_1016.py
Normal file
29
bookwyrm/migrations/0145_auto_20220312_1016.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Generated by Django 3.2.12 on 2022-03-12 10:16
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('bookwyrm', '0144_alter_announcement_display_type'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='inviterequest',
|
||||
name='answer',
|
||||
field=models.TextField(default='Foundation by Isaac Azimov', max_length=50),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='sitesettings',
|
||||
name='invite_question_text',
|
||||
field=models.CharField(blank=True, default='What is your favourite book?', max_length=255),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='sitesettings',
|
||||
name='invite_request_question',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue