UNPKG

@devx-commerce/plugin-gati

Version:

Gati ERP integration for Medusa

16 lines 1.63 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Migration20250612231031 = void 0; const migrations_1 = require("@mikro-orm/migrations"); class Migration20250612231031 extends migrations_1.Migration { async up() { this.addSql(`alter table if exists "party_master" alter column "firm_birth_date" type text using ("firm_birth_date"::text);`); this.addSql(`alter table if exists "party_master" alter column "firm_anniversary_date" type text using ("firm_anniversary_date"::text);`); } async down() { this.addSql(`alter table if exists "party_master" alter column "firm_birth_date" type timestamptz using ("firm_birth_date"::timestamptz);`); this.addSql(`alter table if exists "party_master" alter column "firm_anniversary_date" type timestamptz using ("firm_anniversary_date"::timestamptz);`); } } exports.Migration20250612231031 = Migration20250612231031; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTA2MTIyMzEwMzEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9wYXJ0eS1tYXN0ZXIvbWlncmF0aW9ucy9NaWdyYXRpb24yMDI1MDYxMjIzMTAzMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxzREFBa0Q7QUFFbEQsTUFBYSx1QkFBd0IsU0FBUSxzQkFBUztJQUUzQyxLQUFLLENBQUMsRUFBRTtRQUNmLElBQUksQ0FBQyxNQUFNLENBQUMsZ0hBQWdILENBQUMsQ0FBQztRQUM5SCxJQUFJLENBQUMsTUFBTSxDQUFDLDRIQUE0SCxDQUFDLENBQUM7SUFDNUksQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsOEhBQThILENBQUMsQ0FBQztRQUM1SSxJQUFJLENBQUMsTUFBTSxDQUFDLDBJQUEwSSxDQUFDLENBQUM7SUFDMUosQ0FBQztDQUVGO0FBWkQsMERBWUMifQ==