fix
This commit is contained in:
parent
071cf21b78
commit
8df147fd08
@ -1,19 +0,0 @@
|
|||||||
# Generated by Django 3.1.7 on 2021-03-11 23:14
|
|
||||||
|
|
||||||
from django.db import migrations
|
|
||||||
import picklefield.fields
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('feeds', '0009_auto_20210312_0211'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name='feed',
|
|
||||||
name='last_id',
|
|
||||||
field=picklefield.fields.PickledObjectField(blank=True, editable=False, null=True),
|
|
||||||
),
|
|
||||||
]
|
|
@ -17,7 +17,7 @@ class Feed(models.Model):
|
|||||||
chat_id = models.CharField(max_length=33)
|
chat_id = models.CharField(max_length=33)
|
||||||
check_interval = models.DurationField(help_text='in seconds')
|
check_interval = models.DurationField(help_text='in seconds')
|
||||||
last_check = models.DateTimeField(null=True, blank=True)
|
last_check = models.DateTimeField(null=True, blank=True)
|
||||||
last_id = PickledObjectField(null=True, blank=True)
|
last_id = models.JSONField(null=True, blank=True)
|
||||||
|
|
||||||
config_type = models.ForeignKey(ContentType, on_delete=models.CASCADE)
|
config_type = models.ForeignKey(ContentType, on_delete=models.CASCADE)
|
||||||
config_id = models.PositiveIntegerField()
|
config_id = models.PositiveIntegerField()
|
||||||
|
Loading…
Reference in New Issue
Block a user