Remove schedule_last_calculated_at field from PeerScheduling model

This commit is contained in:
Eduardo Silva
2026-02-04 11:05:11 -03:00
parent 45e99a5c0c
commit 3492565ebc
4 changed files with 17 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
# Generated by Django 5.2.11 on 2026-02-04 14:03
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('scheduler', '0002_alter_scheduleslot_profile'),
]
operations = [
migrations.RemoveField(
model_name='peerscheduling',
name='schedule_last_calculated_at',
),
]

View File

@@ -53,7 +53,6 @@ class PeerScheduling(models.Model):
next_scheduled_enable_at = models.DateTimeField(null=True, blank=True)
next_scheduled_disable_at = models.DateTimeField(null=True, blank=True)
schedule_last_calculated_at = models.DateTimeField(null=True, blank=True)
next_manual_suspend_at = models.DateTimeField(null=True, blank=True)
next_manual_unsuspend_at = models.DateTimeField(null=True, blank=True)