• Bob Van Landuyt's avatar
    Add `accepted_terms` to users · 65bea3f7
    Bob Van Landuyt authored
    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.
    65bea3f7
schema.rb 106 KB