Update pivot table not works


#1
await model.items().pivotQuery()
            .where({ prop_id: params.id })
            .update({ field: 'something' })

This code is generating an error:

fakeModel._setUpdatedAt is not a function