@devx-commerce/plugin-gati
Version:
Gati ERP integration for Medusa
16 lines • 1.55 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Migration20250604120348 = void 0;
const migrations_1 = require("@mikro-orm/migrations");
class Migration20250604120348 extends migrations_1.Migration {
async up() {
this.addSql(`alter table if exists "party_master" alter column "branch_no" type text using ("branch_no"::text);`);
this.addSql(`alter table if exists "party_master" alter column "location_id" type text using ("location_id"::text);`);
}
async down() {
this.addSql(`alter table if exists "party_master" alter column "branch_no" type integer using ("branch_no"::integer);`);
this.addSql(`alter table if exists "party_master" alter column "location_id" type integer using ("location_id"::integer);`);
}
}
exports.Migration20250604120348 = Migration20250604120348;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTA2MDQxMjAzNDguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9wYXJ0eS1tYXN0ZXIvbWlncmF0aW9ucy9NaWdyYXRpb24yMDI1MDYwNDEyMDM0OC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxzREFBa0Q7QUFFbEQsTUFBYSx1QkFBd0IsU0FBUSxzQkFBUztJQUUzQyxLQUFLLENBQUMsRUFBRTtRQUNmLElBQUksQ0FBQyxNQUFNLENBQUMsb0dBQW9HLENBQUMsQ0FBQztRQUNsSCxJQUFJLENBQUMsTUFBTSxDQUFDLHdHQUF3RyxDQUFDLENBQUM7SUFDeEgsQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsMEdBQTBHLENBQUMsQ0FBQztRQUN4SCxJQUFJLENBQUMsTUFBTSxDQUFDLDhHQUE4RyxDQUFDLENBQUM7SUFDOUgsQ0FBQztDQUVGO0FBWkQsMERBWUMifQ==