"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: all[name]
    });
}
_export(exports, {
    down: function() {
        return down;
    },
    up: function() {
        return up;
    }
});
const _sequelize = require("sequelize");
async function up(query) {
    await query.removeColumn('invoice_products', 'discountable');
    await query.addColumn('invoice_products', 'insurable', {
        type: _sequelize.DataTypes.BOOLEAN,
        allowNull: false,
        defaultValue: true
    });
}
async function down(query) {
    await query.removeColumn('invoice_products', 'insurable');
    await query.addColumn('invoice_products', 'discountable', {
        type: _sequelize.DataTypes.BOOLEAN
    });
}

//# sourceMappingURL=1764620401759-addInvoiceProductInsurable.js.map