refactor: un-hardcode file urls

This commit is contained in:
Zoe
2026-05-12 10:28:33 -05:00
parent 9550d44220
commit 47009b1f0a
11 changed files with 2790 additions and 15 deletions
@@ -0,0 +1,4 @@
-- Custom SQL migration file, put your code below! --
UPDATE files
SET url = regexp_replace(url, '^https?://[^/]+', '')
WHERE url ~ '^https?://[^/]+';