"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get down () {
        return down;
    },
    get up () {
        return up;
    }
});
async function up(query) {
    // VARCHAR(255) -> TEXT is binary-coercible in Postgres, so this is a metadata-only
    // change with no table rewrite and no need to revalidate the (record_id, record_type)
    // unique constraint or the indexes that include record_id.
    await query.sequelize.query(`
    ALTER TABLE sync_lookup ALTER COLUMN record_id TYPE TEXT;
  `);
}
async function down(query) {
    await query.sequelize.query(`
    ALTER TABLE sync_lookup ALTER COLUMN record_id TYPE VARCHAR(255);
  `);
}

//# sourceMappingURL=1780449878598-changeSyncLookupRecordIdToText.js.map