moviewyrm/bookwyrm/migrations/0040_auto_20210122_0057.py

49 lines
1.4 KiB
Python
Raw Permalink Normal View History

# Generated by Django 3.0.7 on 2021-01-22 00:57
import bookwyrm.models.fields
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
2021-03-08 16:49:10 +00:00
("bookwyrm", "0039_merge_20210120_0753"),
]
operations = [
migrations.AlterField(
2021-03-08 16:49:10 +00:00
model_name="progressupdate",
name="progress",
field=models.IntegerField(
validators=[django.core.validators.MinValueValidator(0)]
),
),
migrations.AlterField(
2021-03-08 16:49:10 +00:00
model_name="progressupdate",
name="readthrough",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE, to="bookwyrm.ReadThrough"
),
),
migrations.AlterField(
2021-03-08 16:49:10 +00:00
model_name="progressupdate",
name="remote_id",
field=bookwyrm.models.fields.RemoteIdField(
max_length=255,
null=True,
validators=[bookwyrm.models.fields.validate_remote_id],
),
),
migrations.AlterField(
2021-03-08 16:49:10 +00:00
model_name="readthrough",
name="progress",
field=models.IntegerField(
blank=True,
null=True,
validators=[django.core.validators.MinValueValidator(0)],
),
),
]