Compare commits

...

2 Commits

Author SHA1 Message Date
Seraphys
c2b3dfdcc8 Ban OFT / nikt0 2026-03-05 13:15:00 -06:00
Seraphys
55726f1eec Fix eXterminator / Tweak Streaming Scores 2026-03-05 10:58:27 -06:00
2 changed files with 567 additions and 0 deletions

View File

@@ -0,0 +1,480 @@
-- @operation: export
-- @entity: batch
-- @name: Fix eXterminator / Tweak Streaming Scores
-- @exportedAt: 2026-03-05T16:58:27.006Z
-- @opIds: 1954, 1955, 1956, 1957, 1958, 1959, 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-- --- BEGIN op 1954 ( update quality_profile "1080p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Balanced', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1954
-- --- BEGIN op 1955 ( update quality_profile "1080p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Balanced', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1955
-- --- BEGIN op 1956 ( update quality_profile "1080p Balanced" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1956
-- --- BEGIN op 1957 ( update quality_profile "1080p Balanced" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1957
-- --- BEGIN op 1958 ( update quality_profile "1080p Balanced" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Balanced'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1958
-- --- BEGIN op 1959 ( update quality_profile "1080p Compact" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Compact', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1959
-- --- BEGIN op 1960 ( update quality_profile "1080p Compact" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Compact', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1960
-- --- BEGIN op 1961 ( update quality_profile "1080p Compact" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1961
-- --- BEGIN op 1962 ( update quality_profile "1080p Compact" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1962
-- --- BEGIN op 1963 ( update quality_profile "1080p Compact" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Compact'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1963
-- --- BEGIN op 1964 ( update quality_profile "1080p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Efficient', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1964
-- --- BEGIN op 1965 ( update quality_profile "1080p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Efficient', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1965
-- --- BEGIN op 1966 ( update quality_profile "1080p Efficient" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1966
-- --- BEGIN op 1967 ( update quality_profile "1080p Efficient" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1967
-- --- BEGIN op 1968 ( update quality_profile "1080p Efficient" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Efficient'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1968
-- --- BEGIN op 1969 ( update quality_profile "1080p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Quality', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1969
-- --- BEGIN op 1970 ( update quality_profile "1080p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Quality', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1970
-- --- BEGIN op 1971 ( update quality_profile "1080p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1971
-- --- BEGIN op 1972 ( update quality_profile "1080p Quality" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1972
-- --- BEGIN op 1973 ( update quality_profile "1080p Quality" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1973
-- --- BEGIN op 1974 ( update quality_profile "1080p Quality HDR" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Quality HDR', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1974
-- --- BEGIN op 1975 ( update quality_profile "1080p Quality HDR" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Quality HDR', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1975
-- --- BEGIN op 1976 ( update quality_profile "1080p Quality HDR" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1976
-- --- BEGIN op 1977 ( update quality_profile "1080p Quality HDR" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1977
-- --- BEGIN op 1978 ( update quality_profile "1080p Quality HDR" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Quality HDR'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1978
-- --- BEGIN op 1979 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1979
-- --- BEGIN op 1980 ( update quality_profile "1080p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '1080p Remux', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1980
-- --- BEGIN op 1981 ( update quality_profile "1080p Remux" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1981
-- --- BEGIN op 1982 ( update quality_profile "1080p Remux" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1982
-- --- BEGIN op 1983 ( update quality_profile "1080p Remux" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '1080p Remux'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1983
-- --- BEGIN op 1984 ( update quality_profile "720p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '720p Quality', 'DSNP', 'radarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
);
-- --- END op 1984
-- --- BEGIN op 1985 ( update quality_profile "720p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '720p Quality', 'DSNP', 'sonarr', 3000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
);
-- --- END op 1985
-- --- BEGIN op 1986 ( update quality_profile "720p Quality" )
DELETE FROM quality_profile_custom_formats
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'all'
AND score = 3000;
-- --- END op 1986
-- --- BEGIN op 1987 ( update quality_profile "720p Quality" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'radarr'
AND score = 3000;
-- --- END op 1987
-- --- BEGIN op 1988 ( update quality_profile "720p Quality" )
UPDATE quality_profile_custom_formats
SET score = 2000
WHERE quality_profile_name = '720p Quality'
AND custom_format_name = 'DSNP'
AND arr_type = 'sonarr'
AND score = 3000;
-- --- END op 1988
-- --- BEGIN op 1989 ( update quality_profile "2160p Balanced" )
UPDATE quality_profile_custom_formats
SET score = 5000
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 6000;
-- --- END op 1989
-- --- BEGIN op 1990 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'Disney+ Enhancement', 'radarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 1990
-- --- BEGIN op 1991 ( update quality_profile "2160p Balanced" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Balanced', 'Disney+ Enhancement', 'sonarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Balanced'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 1991
-- --- BEGIN op 1992 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'Disney+ Enhancement', 'radarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 1992
-- --- BEGIN op 1993 ( update quality_profile "2160p Efficient" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Efficient', 'Disney+ Enhancement', 'sonarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 1993
-- --- BEGIN op 1994 ( update quality_profile "2160p Efficient" )
UPDATE quality_profile_custom_formats
SET score = 5000
WHERE quality_profile_name = '2160p Efficient'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 6000;
-- --- END op 1994
-- --- BEGIN op 1995 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'Disney+ Enhancement', 'radarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 1995
-- --- BEGIN op 1996 ( update quality_profile "2160p Quality" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Quality', 'Disney+ Enhancement', 'sonarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 1996
-- --- BEGIN op 1997 ( update quality_profile "2160p Quality" )
UPDATE quality_profile_custom_formats
SET score = 5000
WHERE quality_profile_name = '2160p Quality'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 6000;
-- --- END op 1997
-- --- BEGIN op 1998 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'Disney+ Enhancement', 'radarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'radarr'
);
-- --- END op 1998
-- --- BEGIN op 1999 ( update quality_profile "2160p Remux" )
INSERT INTO quality_profile_custom_formats (quality_profile_name, custom_format_name, arr_type, score)
SELECT '2160p Remux', 'Disney+ Enhancement', 'sonarr', -1000
WHERE NOT EXISTS (
SELECT 1 FROM quality_profile_custom_formats
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'Disney+ Enhancement'
AND arr_type = 'sonarr'
);
-- --- END op 1999
-- --- BEGIN op 2000 ( update quality_profile "2160p Remux" )
UPDATE quality_profile_custom_formats
SET score = 5000
WHERE quality_profile_name = '2160p Remux'
AND custom_format_name = 'MA'
AND arr_type = 'radarr'
AND score = 6000;
-- --- END op 2000
-- --- BEGIN op 2001 ( update custom_format "1080p Quality Tier 4" )
UPDATE custom_format_conditions
SET type = 'release_group'
WHERE custom_format_name = '1080p Quality Tier 4'
AND name = 'eXterminator'
AND type = 'edition'
AND arr_type = 'all'
AND negate = 0
AND required = 0;
DELETE FROM condition_patterns WHERE custom_format_name = '1080p Quality Tier 4' AND condition_name = 'eXterminator' AND regular_expression_name = 'eXterminator';
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('1080p Quality Tier 4', 'eXterminator', 'eXterminator');
-- --- END op 2001

87
ops/81.ban-oft-nikt0.sql Normal file
View File

@@ -0,0 +1,87 @@
-- @operation: export
-- @entity: batch
-- @name: Ban OFT / nikt0
-- @exportedAt: 2026-03-05T19:14:59.473Z
-- @opIds: 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
-- --- BEGIN op 2003 ( create regular_expression "OFT" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('OFT', '(?<=^|[\s.-])4KDVS\b', 'Matches "4KDVS" when preceded by whitespace, a hyphen or dot', NULL);
insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('OFT', 'Bluray');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('OFT', 'Release Group');
-- --- END op 2003
-- --- BEGIN op 2004 ( update regular_expression "OFT" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])OFT\b', "description" = NULL where "name" = 'OFT' and "pattern" = '(?<=^|[\s.-])4KDVS\b' and "description" = 'Matches "4KDVS" when preceded by whitespace, a hyphen or dot';
-- --- END op 2004
-- --- BEGIN op 2005 ( update regular_expression "OFT" )
update "regular_expressions" set "description" = 'Banned for Low Quality' where "name" = 'OFT' and "description" is null;
-- --- END op 2005
-- --- BEGIN op 2006 ( create regular_expression "nikt0" )
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('nikt0', '(?<=^|[\s.-])OFT\b', 'Banned for Low Quality', NULL);
insert into "tags" ("name") values ('Bluray') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('nikt0', 'Bluray');
insert into "tags" ("name") values ('Release Group') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name) VALUES ('nikt0', 'Release Group');
-- --- END op 2006
-- --- BEGIN op 2007 ( update regular_expression "nikt0" )
update "regular_expressions" set "pattern" = '(?<=^|[\s.-])nikt0\b' where "name" = 'nikt0' and "pattern" = '(?<=^|[\s.-])OFT\b';
-- --- END op 2007
-- --- BEGIN op 2008 ( update regular_expression "OFT" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('OFT') AND tag_name = 'Bluray';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('OFT') LIMIT 1;
-- --- END op 2008
-- --- BEGIN op 2009 ( update regular_expression "nikt0" )
DELETE FROM regular_expression_tags WHERE regular_expression_name IN ('nikt0') AND tag_name = 'Bluray';
insert into "tags" ("name") values ('Banned') on conflict ("name") do nothing;
INSERT INTO regular_expression_tags (regular_expression_name, tag_name)
SELECT name, 'Banned' FROM regular_expressions WHERE name IN ('nikt0') LIMIT 1;
-- --- END op 2009
-- --- BEGIN op 2010 ( update custom_format "Banned Groups" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups', 'OFT', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups', 'OFT', 'OFT');
-- --- END op 2010
-- --- BEGIN op 2011 ( update custom_format "Banned Groups" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups', 'nikt0', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups', 'nikt0', 'nikt0');
-- --- END op 2011
-- --- BEGIN op 2012 ( update custom_format "Banned Groups (Efficient)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Efficient)', 'OFT', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Efficient)', 'OFT', 'nikt0');
-- --- END op 2012
-- --- BEGIN op 2013 ( update custom_format "Banned Groups (Efficient)" )
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
VALUES ('Banned Groups (Efficient)', 'nikt0', 'release_group', 'all', 0, 0);
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Banned Groups (Efficient)', 'nikt0', 'nikt0');
-- --- END op 2013