owpengram-server/deploy/migrations/0028_channel_noforwards_backfill.up.sql
2026-06-04 01:37:39 +08:00

7 lines
300 B
SQL

-- 0028_channel_noforwards_backfill: ensure older developer databases have
-- the channel content-protection flag used by messages.toggleNoForwards.
--
-- Fresh databases already get this column from 0022.
ALTER TABLE channels
ADD COLUMN IF NOT EXISTS noforwards BOOLEAN NOT NULL DEFAULT false;