"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('location_assignments', [
        'date',
        'location_id'
    ], {
        name: 'idx_location_assignments_date_location_id',
        where: {
            deleted_at: null
        }
    });
}
async function down(query) {
    await query.removeIndex('location_assignments', 'idx_location_assignments_date_location_id');
}

//# sourceMappingURL=1757582700071-addLocationAssignmentsIndex.js.map