Files
modrinth/apps/labrinth/migrations/20260811120000_disclosure-lock-status.sql
T
Sychic 9ecbe8eaa6 feat(labrinth): granular disclosure locking (#7108)
* feat(labrinth): granular disclosure locking

* chore(labrinth): update query cache
2026-08-12 17:26:15 -07:00

7 lines
175 B
SQL

ALTER TABLE project_disclosures
ADD COLUMN lock_status TEXT NOT NULL DEFAULT 'unlocked';
UPDATE project_disclosures
SET lock_status = 'fully_locked'
WHERE set_by_moderator;