From ba4188922d5067b553dac89c2664d1147d58710b Mon Sep 17 00:00:00 2001 From: Seraphys Date: Sun, 14 Jun 2026 15:51:22 -0500 Subject: [PATCH] Move R&H to LQ Release Title --- ops/70.move-r-h-to-lq-release-title.sql | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ops/70.move-r-h-to-lq-release-title.sql diff --git a/ops/70.move-r-h-to-lq-release-title.sql b/ops/70.move-r-h-to-lq-release-title.sql new file mode 100644 index 0000000..148555e --- /dev/null +++ b/ops/70.move-r-h-to-lq-release-title.sql @@ -0,0 +1,26 @@ +-- @operation: export +-- @entity: batch +-- @name: Move R&H to LQ Release Title +-- @exportedAt: 2026-06-14T20:51:20.401Z +-- @opIds: 10963, 10968, 10969 + +-- --- BEGIN op 10963 ( update regular_expression "R&H" ) +update "regular_expressions" set "pattern" = '\b(R&H)\b' where "name" = 'R&H' and "pattern" = '^(R&H)$'; +-- --- END op 10963 + +-- --- BEGIN op 10968 ( update custom_format "LQ" ) +DELETE FROM custom_format_conditions + WHERE custom_format_name = 'LQ' + AND name = 'R&H' + AND type = 'release_group' + AND arr_type = 'all' + AND negate = 0 + AND required = 0; +-- --- END op 10968 + +-- --- BEGIN op 10969 ( update custom_format "LQ (Release Title)" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('LQ (Release Title)', 'R&H', 'release_title', 'all', 0, 0); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('LQ (Release Title)', 'R&H', 'R&H'); +-- --- END op 10969