Deleting a reminder that had already fired failed with FK violation 'reminder_runs_reminder_id_reminders_id_fk'. Add ON DELETE CASCADE so the run history is removed alongside its reminder. reminder_run_targets cascades on run_id (already), so the chain is: reminder → reminder_runs → reminder_run_targets, all removed in one go.
20 lines
354 B
JSON
20 lines
354 B
JSON
{
|
|
"version": "7",
|
|
"dialect": "postgresql",
|
|
"entries": [
|
|
{
|
|
"idx": 0,
|
|
"version": "7",
|
|
"when": 1778311164225,
|
|
"tag": "0000_conscious_tarantula",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 1,
|
|
"version": "7",
|
|
"when": 1778320434707,
|
|
"tag": "0001_smart_vertigo",
|
|
"breakpoints": true
|
|
}
|
|
]
|
|
} |