'use strict';

exports.shorthands = undefined;

exports.up = (pgm) => {
  pgm.addColumns('pos_stores', {
    logo_url: {
      type: 'text',
      notNull: false,
      default: null,
    },
  });
  pgm.sql(
    "COMMENT ON COLUMN pos_stores.logo_url IS 'URL del logo custom para tickets TPV. Si es null, se usa el logo default /images/logo-main.png'",
  );
};

exports.down = (pgm) => {
  pgm.dropColumns('pos_stores', ['logo_url']);
};
