• Bob Van Landuyt's avatar
    Add `accepted_terms` to users · 5b5545aa
    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.
    5b5545aa
schema.rb 138 KB