// Channels — broadcast conversations (type='channel') where only the owner and // admins post. `type` is a plain text column, so the new value needs no DDL; // channels just add an optional description shown on the info page. /** @param {import('node-pg-migrate').MigrationBuilder} pgm */ exports.up = (pgm) => { pgm.addColumns('conversations', { description: { type: 'text' }, }); }; /** @param {import('node-pg-migrate').MigrationBuilder} pgm */ exports.down = (pgm) => { pgm.dropColumns('conversations', ['description']); };