stack/apps/backend/prisma/migrations/20241223231023_onlyhttps_domains/migration.sql
2024-12-23 19:16:24 -08:00

5 lines
199 B
SQL

-- Some older versions allowed http:// URLs as trusted domains, instead of just https://.
-- We fix that.
UPDATE "ProjectDomain" SET "domain" = 'https://example.com' WHERE "domain" LIKE 'http://%';