|
| 1 | +-- @operation: export |
| 2 | +-- @entity: batch |
| 3 | +-- @name: Add pcroland to 1080p Quality Tier 5 |
| 4 | +-- @exportedAt: 2026-03-20T17:42:15.948Z |
| 5 | +-- @opIds: 3042, 3043, 3044, 3045 |
| 6 | + |
| 7 | +-- --- BEGIN op 3042 ( update custom_format "1080p Quality Tier 5" ) |
| 8 | +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) |
| 9 | +VALUES ('1080p Quality Tier 5', 'LAZY', 'release_group', 'all', 0, 0); |
| 10 | + |
| 11 | +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Quality Tier 5', 'LAZY', 'LAZY'); |
| 12 | +-- --- END op 3042 |
| 13 | + |
| 14 | +-- --- BEGIN op 3043 ( update custom_format "720p Quality Tier 5" ) |
| 15 | +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) |
| 16 | +VALUES ('720p Quality Tier 5', 'LAZY', 'release_group', 'all', 0, 0); |
| 17 | + |
| 18 | +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('720p Quality Tier 5', 'LAZY', 'LAZY'); |
| 19 | +-- --- END op 3043 |
| 20 | + |
| 21 | +-- --- BEGIN op 3044 ( create regular_expression "pcroland" ) |
| 22 | +insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('pcroland', '(?<=^|[\s.-])Softboat\b', NULL, NULL); |
| 23 | + |
| 24 | +insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing; |
| 25 | + |
| 26 | +INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('pcroland', 'Bluray'); |
| 27 | + |
| 28 | +insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing; |
| 29 | + |
| 30 | +INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('pcroland', 'Release Group'); |
| 31 | +-- --- END op 3044 |
| 32 | + |
| 33 | +-- --- BEGIN op 3045 ( update custom_format "1080p Quality Tier 5" ) |
| 34 | +INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required) |
| 35 | +VALUES ('1080p Quality Tier 5', 'pcroland', 'release_group', 'all', 0, 0); |
| 36 | + |
| 37 | +INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Quality Tier 5', 'pcroland', 'pcroland'); |
| 38 | +-- --- END op 3045 |
0 commit comments