# HG changeset patch # User RhodeCode Admin # Date 2023-08-21 07:40:10 # Node ID b7ae2b2acee8c9d187de21ecb975b19403ce71af # Parent 14e256361f253cc46a601562df00a8c4a7e3fe7c schedules: remove timedelta options diff --git a/rhodecode/model/db.py b/rhodecode/model/db.py --- a/rhodecode/model/db.py +++ b/rhodecode/model/db.py @@ -5292,9 +5292,8 @@ class ScheduleEntry(Base, BaseModel): ) SCHEDULE_TYPE_INTEGER = "integer" SCHEDULE_TYPE_CRONTAB = "crontab" - SCHEDULE_TYPE_TIMEDELTA = "timedelta" - - schedule_types = [SCHEDULE_TYPE_CRONTAB, SCHEDULE_TYPE_TIMEDELTA, SCHEDULE_TYPE_INTEGER] + + schedule_types = [SCHEDULE_TYPE_CRONTAB, SCHEDULE_TYPE_INTEGER] schedule_entry_id = Column('schedule_entry_id', Integer(), primary_key=True) schedule_name = Column("schedule_name", String(255), nullable=False, unique=None, default=None)