mirror of
https://github.com/Dictionarry-Hub/database.git
synced 2026-03-15 17:40:09 -04:00
Add Default Delay Profile with Temporary Settings
This commit is contained in:
13
ops/5.add-default-delay-profile-with-temporary-settings.sql
Normal file
13
ops/5.add-default-delay-profile-with-temporary-settings.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
-- @operation: export
|
||||
-- @entity: batch
|
||||
-- @name: Add Default Delay Profile with Temporary Settings
|
||||
-- @exportedAt: 2026-01-31T19:14:49.000Z
|
||||
-- @opIds: 66, 67
|
||||
|
||||
-- --- BEGIN op 66 ( create delay_profile "Dictionarry" )
|
||||
insert into "delay_profiles" ("name", "preferred_protocol", "usenet_delay", "torrent_delay", "bypass_if_highest_quality", "bypass_if_above_custom_format_score", "minimum_custom_format_score") values ('Dictionarry', 'only_torrent', NULL, 200, 0, 0, NULL);
|
||||
-- --- END op 66
|
||||
|
||||
-- --- BEGIN op 67 ( update delay_profile "Dictionarry" )
|
||||
update "delay_profiles" set "preferred_protocol" = 'prefer_torrent', "usenet_delay" = 300, "torrent_delay" = 300 where "name" = 'Dictionarry' and "preferred_protocol" = 'only_torrent' and "usenet_delay" is null and "torrent_delay" = 200;
|
||||
-- --- END op 67
|
||||
Reference in New Issue
Block a user