Files
arr/crates/arr-db/migrations/0033_remove_podnapisi.sql
Miguel Palhas 4cec2b6ed5
ci / web (push) Successful in 30s
ci / rust (push) Failing after 1m58s
e2e / e2e (push) Failing after 2m15s
refactor(subs): remove podnapisi
2026-08-26 22:58:01 +01:00

13 lines
504 B
SQL

-- Podnapisi.net no longer has a reachable public service. Existing settings
-- must not keep selecting it or preserve a budget for a provider arr no
-- longer ships.
UPDATE subtitle_settings
SET providers_enabled = COALESCE(
(SELECT json_group_array(value)
FROM json_each(providers_enabled)
WHERE value != 'podnapisi'),
'[]'
),
provider_daily_budgets = json_remove(provider_daily_budgets, '$.podnapisi'),
updated_at = strftime('%Y-%m-%dT%H:%M:%fZ', 'now');