CREATE TRIGGER trg_channels_community_id_immutable BEFORE UPDATE ON channels FOR EACH ROW EXECUTE FUNCTION channels_community_id_immutable();