"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 = require("sequelize");
async function up(query) {
    await query.addColumn('patient_birth_data', 'birth_order', {
        type: _sequelize.DataTypes.INTEGER,
        allowNull: true
    });
    await query.sequelize.query(`SELECT flag_lookup_model_to_rebuild('patient_birth_data');`);
}
async function down(query) {
    await query.removeColumn('patient_birth_data', 'birth_order');
}

//# sourceMappingURL=1770868233506-addBirthOrderColumnToPatientBirthData.js.map