From 0cdd38fdb0e87b9041a3fb5ca1c174414209015c Mon Sep 17 00:00:00 2001 From: Seraphys Date: Tue, 22 Sep 2026 16:09:02 +0000 Subject: [PATCH] Add 126811 to LQ --- ops/76.add-126811-to-lq.sql | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ops/76.add-126811-to-lq.sql diff --git a/ops/76.add-126811-to-lq.sql b/ops/76.add-126811-to-lq.sql new file mode 100644 index 0000000..bb08bc9 --- /dev/null +++ b/ops/76.add-126811-to-lq.sql @@ -0,0 +1,20 @@ +-- @operation: export +-- @entity: batch +-- @name: Add 126811 to LQ +-- @exportedAt: 2026-09-22T16:09:00.642Z +-- @opIds: 14459, 14460, 14462 + +-- --- BEGIN op 14459 ( create regular_expression "126811" ) +insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('126811', '[.]heb\b', NULL, NULL); +-- --- END op 14459 + +-- --- BEGIN op 14460 ( update regular_expression "126811" ) +update "regular_expressions" set "pattern" = '^(126811)$' where "name" = '126811' and "pattern" = '[.]heb\b'; +-- --- END op 14460 + +-- --- BEGIN op 14462 ( update custom_format "LQ" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('LQ', '126811', 'release_group', 'all', 0, 0); + +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('LQ', '126811', '126811'); +-- --- END op 14462