You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: simplify scheduled restore schema and add schedule guards
- Drop redundant scheduled_restores.last_restore_id; derive latest restore
via hasOne()->latestOfMany() on the existing scheduled_restore_id FK.
- Switch source/target FKs on scheduled_restores from RESTRICT to CASCADE
so deleting a database server cleans up its scheduled restores.
- Guard backup-schedule deletion when referenced by a scheduled restore
and surface the relation in the Configuration > Backup UI alongside
the existing server badge.
- Remove the schedule "Run now" button: it only triggers backups, which
is now ambiguous because schedules can also be used by scheduled
restores.
0 commit comments