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