Files
community-rule/prisma/migrations/20261121120000_export_token_version/migration.sql
T
adilallo 75649a9a42 Add a content security policy and expire mailed export links.
Responses had no CSP, the 48-hour download token never changed, and short share slugs could be guessed without a miss limit.
2026-11-21 11:46:16 -07:00

3 lines
102 B
SQL

-- AlterTable
ALTER TABLE "PublishedRule" ADD COLUMN "exportTokenVersion" INTEGER NOT NULL DEFAULT 0;