From d6655a589427a6e4c3904ac28ebfc7a330404a57 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Sun, 17 May 2026 17:44:10 -0500 Subject: [PATCH] Update Golden Rule (Optional) Tags --- ops/51.update-golden-rule-optional-tags.sql | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ops/51.update-golden-rule-optional-tags.sql diff --git a/ops/51.update-golden-rule-optional-tags.sql b/ops/51.update-golden-rule-optional-tags.sql new file mode 100644 index 0000000..1367204 --- /dev/null +++ b/ops/51.update-golden-rule-optional-tags.sql @@ -0,0 +1,21 @@ +-- @operation: export +-- @entity: batch +-- @name: Update Golden Rule (Optional) Tags +-- @exportedAt: 2026-05-17T22:44:08.973Z +-- @opIds: 9184, 9185 + +-- --- BEGIN op 9184 ( update custom_format "x265 (HD)" ) +DELETE FROM custom_format_tags WHERE custom_format_name = 'x265 (HD)' AND tag_name = 'Unwanted Formats'; + +insert into "tags" ("name") values ('Golden Rule (Optional)') on conflict ("name") do nothing; + +INSERT INTO custom_format_tags (custom_format_name, tag_name) VALUES ('x265 (HD)', 'Golden Rule (Optional)'); +-- --- END op 9184 + +-- --- BEGIN op 9185 ( update custom_format "x265 (no HDR/DV)" ) +DELETE FROM custom_format_tags WHERE custom_format_name = 'x265 (no HDR/DV)' AND tag_name = 'Miscellaneous'; + +insert into "tags" ("name") values ('Golden Rule (Optional)') on conflict ("name") do nothing; + +INSERT INTO custom_format_tags (custom_format_name, tag_name) VALUES ('x265 (no HDR/DV)', 'Golden Rule (Optional)'); +-- --- END op 9185