From c3effcbafa1c7677a2e144695c80a64ae01f19d7 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Mon, 18 May 2026 17:55:33 -0500 Subject: [PATCH] Update Golden Rule (Optional) Tags --- ops/36.update-golden-rule-optional-tags.sql | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ops/36.update-golden-rule-optional-tags.sql diff --git a/ops/36.update-golden-rule-optional-tags.sql b/ops/36.update-golden-rule-optional-tags.sql new file mode 100644 index 0000000..4e4f521 --- /dev/null +++ b/ops/36.update-golden-rule-optional-tags.sql @@ -0,0 +1,21 @@ +-- @operation: export +-- @entity: batch +-- @name: Update Golden Rule (Optional) Tags +-- @exportedAt: 2026-05-18T22:55:32.242Z +-- @opIds: 9562, 9563 + +-- --- BEGIN op 9562 ( update custom_format "x265 (HD)" ) +DELETE FROM custom_format_tags WHERE custom_format_name = 'x265 (HD)' AND tag_name = 'Unwanted'; + +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 9562 + +-- --- BEGIN op 9563 ( 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 9563