diff --git a/ops/81.move-atelier-to-tier-01.sql b/ops/81.move-atelier-to-tier-01.sql new file mode 100644 index 0000000..c0d3866 --- /dev/null +++ b/ops/81.move-atelier-to-tier-01.sql @@ -0,0 +1,22 @@ +-- @operation: export +-- @entity: batch +-- @name: Move ATELiER to Tier 01 +-- @exportedAt: 2026-08-28T20:20:34.877Z +-- @opIds: 13954, 13955 + +-- --- BEGIN op 13954 ( update custom_format "HD Bluray Tier 02" ) +DELETE FROM custom_format_conditions + WHERE custom_format_name = 'HD Bluray Tier 02' + AND name = 'ATELiER' + AND type = 'release_group' + AND arr_type = 'radarr' + AND negate = 0 + AND required = 0; +-- --- END op 13954 + +-- --- BEGIN op 13955 ( update custom_format "HD Bluray Tier 01" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('HD Bluray Tier 01', 'ATELiER', 'release_group', 'radarr', 0, 0); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('HD Bluray Tier 01', 'ATELiER', 'ATELiER'); +-- --- END op 13955