/** * Example migration — demonstrates the shape. * This one is a NO-OP so the tooling can boot cleanly without * interfering with the existing baseline in src/db/database.js. * * For a real change, replace the body with: * exports.up = (pgm) => { * pgm.addColumn('users', { * avatar_url: { type: 'text' } * }); * }; * exports.down = (pgm) => { * pgm.dropColumn('users', 'avatar_url'); * }; * * Full API: https://salsita.github.io/node-pg-migrate/ */ exports.up = async () => { // intentionally empty }; exports.down = async () => { // intentionally empty }; // Tell node-pg-migrate this migration doesn't need a transaction — // lets future migrations that need CREATE INDEX CONCURRENTLY etc run. exports.shorthands = undefined;