/**
 * Add twitter_url and pinterest_url columns to store_settings table.
 */

/** @param {import('pg-migrate').MigrationBuilder} pgm */
export const up = (pgm) => {
  pgm.addColumn('store_settings', {
    twitter_url: { type: 'text', notNull: false, default: null },
    pinterest_url: { type: 'text', notNull: false, default: null },
  });
};

/** @param {import('pg-migrate').MigrationBuilder} pgm */
export const down = (pgm) => {
  pgm.dropColumn('store_settings', 'twitter_url');
  pgm.dropColumn('store_settings', 'pinterest_url');
};
