feat(TICKET-LOGO): completed feature

This commit is contained in:
chattie
2026-08-25 06:35:39 +02:00
parent 419f47ec1c
commit 7639c1ff42
16 changed files with 324 additions and 12 deletions

View File

@@ -0,0 +1,18 @@
'use strict';
exports.shorthands = undefined;
exports.up = (pgm) => {
pgm.addColumns('pos_stores', {
logo_url: {
type: 'text',
notNull: false,
default: null,
},
});
pgm.addCommentOnColumn('pos_stores', 'logo_url', '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']);
};