Track completed items on job
This commit is contained in:
parent
9e673834dc
commit
47b98ad0d9
3 changed files with 44 additions and 2 deletions
32
bookwyrm/migrations/0116_auto_20211114_1700.py
Normal file
32
bookwyrm/migrations/0116_auto_20211114_1700.py
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Generated by Django 3.2.5 on 2021-11-14 17:00
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.utils.timezone
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('bookwyrm', '0115_importitem_linked_review'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='importjob',
|
||||
name='complete',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='importjob',
|
||||
name='task_id',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='importjob',
|
||||
name='completed_count',
|
||||
field=models.IntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='importjob',
|
||||
name='updated_date',
|
||||
field=models.DateTimeField(default=django.utils.timezone.now),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue