2021-01-22 17:19:02 +00:00
|
|
|
# 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"),
|
2021-01-22 17:19:02 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
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)]
|
|
|
|
),
|
2021-01-22 17:19:02 +00:00
|
|
|
),
|
|
|
|
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"
|
|
|
|
),
|
2021-01-22 17:19:02 +00:00
|
|
|
),
|
|
|
|
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],
|
|
|
|
),
|
2021-01-22 17:19:02 +00:00
|
|
|
),
|
|
|
|
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)],
|
|
|
|
),
|
2021-01-22 17:19:02 +00:00
|
|
|
),
|
|
|
|
]
|