"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.addIndex('user_designations', {
        name: 'user_designations_user_id_deleted_at_null_idx',
        fields: [
            'user_id'
        ],
        where: {
            deleted_at: null
        }
    });
}
async function down(query) {
    await query.removeIndex('user_designations', 'user_designations_user_id_deleted_at_null_idx');
}

//# sourceMappingURL=1758077099558-addUserIdIndexToUserDesignations.js.map