@devx-commerce/plugin-gati
Version:
Gati ERP integration for Medusa
14 lines • 1.39 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Migration20250531025048 = void 0;
const migrations_1 = require("@mikro-orm/migrations");
class Migration20250531025048 extends migrations_1.Migration {
async up() {
this.addSql(`alter table if exists "collection_master" add column if not exists "collection_group_no" integer not null, add column if not exists "collection_group_code" text not null, add column if not exists "collection_group_name" text not null;`);
}
async down() {
this.addSql(`alter table if exists "collection_master" drop column if exists "collection_group_no", drop column if exists "collection_group_code", drop column if exists "collection_group_name";`);
}
}
exports.Migration20250531025048 = Migration20250531025048;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTA1MzEwMjUwNDguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9jb2xsZWN0aW9uLW1hc3Rlci9taWdyYXRpb25zL01pZ3JhdGlvbjIwMjUwNTMxMDI1MDQ4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHNEQUFrRDtBQUVsRCxNQUFhLHVCQUF3QixTQUFRLHNCQUFTO0lBRTNDLEtBQUssQ0FBQyxFQUFFO1FBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQyw0T0FBNE8sQ0FBQyxDQUFDO0lBQzVQLENBQUM7SUFFUSxLQUFLLENBQUMsSUFBSTtRQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLHNMQUFzTCxDQUFDLENBQUM7SUFDdE0sQ0FBQztDQUVGO0FBVkQsMERBVUMifQ==