mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-05-09 02:04:43 +00:00
54 lines
1.6 KiB
Python
54 lines
1.6 KiB
Python
# Generated by Django 3.2.20 on 2023-11-09 16:57
|
|
|
|
import bookwyrm.models.fields
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("bookwyrm", "0186_invite_request_notification"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="book",
|
|
name="first_published_date_precision",
|
|
field=models.CharField(
|
|
blank=True,
|
|
choices=[
|
|
("DAY", "Day prec."),
|
|
("MONTH", "Month prec."),
|
|
("YEAR", "Year prec."),
|
|
],
|
|
editable=False,
|
|
max_length=10,
|
|
null=True,
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name="book",
|
|
name="published_date_precision",
|
|
field=models.CharField(
|
|
blank=True,
|
|
choices=[
|
|
("DAY", "Day prec."),
|
|
("MONTH", "Month prec."),
|
|
("YEAR", "Year prec."),
|
|
],
|
|
editable=False,
|
|
max_length=10,
|
|
null=True,
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="book",
|
|
name="first_published_date",
|
|
field=bookwyrm.models.fields.PartialDateField(blank=True, null=True),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="book",
|
|
name="published_date",
|
|
field=bookwyrm.models.fields.PartialDateField(blank=True, null=True),
|
|
),
|
|
]
|