From 03c7c30610cdbbe162b5a7482555eaf2f7771299 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Wed, 19 Aug 2026 17:12:12 +0000 Subject: [PATCH] Fix HDTV CF --- ops/244.fix-hdtv-cf.sql | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ops/244.fix-hdtv-cf.sql diff --git a/ops/244.fix-hdtv-cf.sql b/ops/244.fix-hdtv-cf.sql new file mode 100644 index 00000000..d6262322 --- /dev/null +++ b/ops/244.fix-hdtv-cf.sql @@ -0,0 +1,22 @@ +-- @operation: export +-- @entity: batch +-- @name: Fix HDTV CF +-- @exportedAt: 2026-08-19T17:12:10.609Z +-- @opIds: 13265, 13266 + +-- --- BEGIN op 13265 ( update custom_format "720p HDTV Tier 3" ) +DELETE FROM custom_format_conditions + WHERE custom_format_name = '720p HDTV Tier 3' + AND name = '1080p' + AND type = 'resolution' + AND arr_type = 'all' + AND negate = 0 + AND required = 1; +-- --- END op 13265 + +-- --- BEGIN op 13266 ( update custom_format "720p HDTV Tier 3" ) +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) +VALUES ('720p HDTV Tier 3', '720p', 'resolution', 'all', 0, 1); + +INSERT INTO condition_resolutions (custom_format_name, condition_name, resolution) VALUES ('720p HDTV Tier 3', '720p', '720p'); +-- --- END op 13266