Add `accepted_terms` to users
This will act as a cache, otherwise we would need to load the
`term_agreements` for a user on each request.
Using this field the result we're interested in is loaded when the
current user is loaded, without causing an extra query.
Showing
Please
register
or
sign in
to comment