"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) {
    await query.sequelize.query(`UPDATE reference_data 
     SET 
      deleted_at = NOW(),
      visibility_status = 'historical'
    WHERE type = 'additionalInvoiceProduct';`);
    await query.sequelize.query(`SELECT flag_lookup_model_to_rebuild('reference_data');`);
}
async function down() {
// Can't really do a reliable down migration as we don't know what was previously not deleted
}

//# sourceMappingURL=1761028100570-RemoveAdditionalInvoicingProducts.js.map