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