"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;
    }
});
const _sequelize = /*#__PURE__*/ _interop_require_default(require("sequelize"));
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
async function up(query) {
    await query.addColumn('discharges', 'facility_name', {
        type: _sequelize.default.STRING,
        allowNull: true
    });
    await query.addColumn('discharges', 'facility_address', {
        type: _sequelize.default.STRING,
        allowNull: true
    });
    await query.addColumn('discharges', 'facility_town', {
        type: _sequelize.default.STRING,
        allowNull: true
    });
}
async function down(query) {
    await query.removeColumn('discharges', 'facility_name');
    await query.removeColumn('discharges', 'facility_address');
    await query.removeColumn('discharges', 'facility_town');
}

//# sourceMappingURL=1718677582896-addFacilityDetailsToDischarge.js.map