fix: add cleanup triggers for orphaned conditions

When a regex or language is deleted, the FK cascade deletes the
condition_patterns/condition_languages row but leaves the parent
condition orphaned. These triggers clean up the parent condition.
This commit is contained in:
Sam Chau
2026-02-11 02:36:34 +10:30
parent 29557fdfe8
commit 00bca26d38
3 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "schema",
"version": "1.0.0",
"version": "1.0.1",
"description": "Base schema for all Profilarr Compliant Databases - defines the structural foundation that all PCDs build upon",
"arr_types": ["radarr", "sonarr"],