UNPKG

@devx-commerce/plugin-gati

Version:

Gati ERP integration for Medusa

14 lines 1.36 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Migration20250531004724 = void 0; const migrations_1 = require("@mikro-orm/migrations"); class Migration20250531004724 extends migrations_1.Migration { async up() { this.addSql(`alter table if exists "category_master" add column if not exists "grp_group_no" integer not null, add column if not exists "category_group_code" text not null, add column if not exists "category_group_name" text not null;`); } async down() { this.addSql(`alter table if exists "category_master" drop column if exists "grp_group_no", drop column if exists "category_group_code", drop column if exists "category_group_name";`); } } exports.Migration20250531004724 = Migration20250531004724; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTA1MzEwMDQ3MjQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9jYXRlZ29yeS1tYXN0ZXIvbWlncmF0aW9ucy9NaWdyYXRpb24yMDI1MDUzMTAwNDcyNC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxzREFBa0Q7QUFFbEQsTUFBYSx1QkFBd0IsU0FBUSxzQkFBUztJQUUzQyxLQUFLLENBQUMsRUFBRTtRQUNmLElBQUksQ0FBQyxNQUFNLENBQUMsK05BQStOLENBQUMsQ0FBQztJQUMvTyxDQUFDO0lBRVEsS0FBSyxDQUFDLElBQUk7UUFDakIsSUFBSSxDQUFDLE1BQU0sQ0FBQyx5S0FBeUssQ0FBQyxDQUFDO0lBQ3pMLENBQUM7Q0FFRjtBQVZELDBEQVVDIn0=