mirror of
https://github.com/Dictionarry-Hub/trash-pcd.git
synced 2026-11-03 12:26:15 +01:00
23 lines
844 B
SQL
23 lines
844 B
SQL
-- @operation: export
|
|
-- @entity: batch
|
|
-- @name: Change IMF Condition Name to Match Upstream
|
|
-- @exportedAt: 2026-10-15T22:53:10.070Z
|
|
-- @opIds: 15058, 15059
|
|
|
|
-- --- BEGIN op 15058 ( update custom_format "IMF" )
|
|
DELETE FROM custom_format_conditions
|
|
WHERE custom_format_name = 'IMF'
|
|
AND name = 'IMF'
|
|
AND type = 'release_title'
|
|
AND arr_type = 'radarr'
|
|
AND negate = 0
|
|
AND required = 1;
|
|
-- --- END op 15058
|
|
|
|
-- --- BEGIN op 15059 ( update custom_format "IMF" )
|
|
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
|
|
VALUES ('IMF', 'Interoperable Master Format', 'release_title', 'radarr', 0, 1);
|
|
|
|
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('IMF', 'Interoperable Master Format', 'Interoperable Master Format');
|
|
-- --- END op 15059
|