From bea87ad89bddadd66d65a835243814bacaaca929 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Wed, 26 Aug 2026 22:36:44 +0000 Subject: [PATCH] Update STAN --- ops/305.update-stan.sql | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ops/305.update-stan.sql diff --git a/ops/305.update-stan.sql b/ops/305.update-stan.sql new file mode 100644 index 00000000..c0cd8c58 --- /dev/null +++ b/ops/305.update-stan.sql @@ -0,0 +1,30 @@ +-- @operation: export +-- @entity: batch +-- @name: Update STAN +-- @exportedAt: 2026-08-26T22:36:43.027Z +-- @opIds: 13744, 13745, 13746 + +-- --- BEGIN op 13744 ( update regular_expression "Stan" ) +update "regular_expressions" set "pattern" = '\b(STAN)(?=[\W_]+WEB[ ._-]?(DL|RIP)\b)' where "name" = 'Stan' and "pattern" = '\b(STAN)\b[ ._-]WEB[ ._-]?(DL|RIP)?\b'; +-- --- END op 13744 + +-- --- BEGIN op 13745 ( update custom_format "STAN" ) +DELETE FROM custom_format_conditions + WHERE custom_format_name = 'STAN' + AND name = 'STAN Rename Regex' + AND type = 'release_title' + AND arr_type = 'all' + AND negate = 0 + AND required = 0; +-- --- END op 13745 + +-- --- BEGIN op 13746 ( update custom_format "STAN" ) +UPDATE custom_format_conditions +SET required = 1 +WHERE custom_format_name = 'STAN' + AND name = 'STAN Regex' + AND type = 'release_title' + AND arr_type = 'all' + AND negate = 0 + AND required = 0; +-- --- END op 13746