# 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),
        ),
    ]
