From c3e5f666020ee27d378b1fa69abd2eae251223bd Mon Sep 17 00:00:00 2001 From: Seraphys Date: Sun, 17 May 2026 17:43:05 -0500 Subject: [PATCH] Update Repacks/Proper (Required) Tags --- ...50.update-repacks-proper-required-tags.sql | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ops/50.update-repacks-proper-required-tags.sql diff --git a/ops/50.update-repacks-proper-required-tags.sql b/ops/50.update-repacks-proper-required-tags.sql new file mode 100644 index 0000000..0176bc4 --- /dev/null +++ b/ops/50.update-repacks-proper-required-tags.sql @@ -0,0 +1,29 @@ +-- @operation: export +-- @entity: batch +-- @name: Update Repacks/Proper (Required) Tags +-- @exportedAt: 2026-05-17T22:43:04.427Z +-- @opIds: 9180, 9181, 9182 + +-- --- BEGIN op 9180 ( update custom_format "Repack/Proper" ) +DELETE FROM custom_format_tags WHERE custom_format_name = 'Repack/Proper' AND tag_name = 'Miscellaneous'; + +insert into "tags" ("name") values ('Repacks/Proper (Required)') on conflict ("name") do nothing; + +INSERT INTO custom_format_tags (custom_format_name, tag_name) VALUES ('Repack/Proper', 'Repacks/Proper (Required)'); +-- --- END op 9180 + +-- --- BEGIN op 9181 ( update custom_format "Repack2" ) +DELETE FROM custom_format_tags WHERE custom_format_name = 'Repack2' AND tag_name = 'Miscellaneous'; + +insert into "tags" ("name") values ('Repacks/Proper (Required)') on conflict ("name") do nothing; + +INSERT INTO custom_format_tags (custom_format_name, tag_name) VALUES ('Repack2', 'Repacks/Proper (Required)'); +-- --- END op 9181 + +-- --- BEGIN op 9182 ( update custom_format "Repack3" ) +DELETE FROM custom_format_tags WHERE custom_format_name = 'Repack3' AND tag_name = 'Miscellaneous'; + +insert into "tags" ("name") values ('Repacks/Proper (Required)') on conflict ("name") do nothing; + +INSERT INTO custom_format_tags (custom_format_name, tag_name) VALUES ('Repack3', 'Repacks/Proper (Required)'); +-- --- END op 9182