mirror of
https://github.com/Dictionarry-Hub/trash-pcd.git
synced 2026-06-23 05:33:48 +02:00
Move R&H to LQ Release Title
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
-- @operation: export
|
||||
-- @entity: batch
|
||||
-- @name: Move R&H to LQ Release Title
|
||||
-- @exportedAt: 2026-06-14T20:51:35.676Z
|
||||
-- @opIds: 10965, 10970, 10971
|
||||
|
||||
-- --- BEGIN op 10965 ( update regular_expression "R&H" )
|
||||
update "regular_expressions" set "pattern" = '\b(R&H)\b' where "name" = 'R&H' and "pattern" = '^(R&H)$';
|
||||
-- --- END op 10965
|
||||
|
||||
-- --- BEGIN op 10970 ( 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 10970
|
||||
|
||||
-- --- BEGIN op 10971 ( 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 10971
|
||||
Reference in New Issue
Block a user