Skip to content

CrontabSchedule uniqueness #701

Open
@sevdog

Description

@sevdog

Summary:

To avoid accidental replication it would be nice to have a UniqueConstraint on CrontabSchedule model.

Detailed information

As matter of fact every row in the CrontabSchedule table should be unique, without any check nor constraints it may cause confusion to whoever admins the scheduler.

This may cause a breaking change if any foreign-key to CrontabSchedule is defined outside of this app. Inside the app it can be handled with an appropriate data-migration which detectes duplicates and fixes them before enforcing the unique constraint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions