Remove redundant query from User#recent_push
The "events" table has a foreign key on "events.project_id" with a cascading delete. As such it's impossible for an event to have a non-existing project ID.
Showing
Please register or sign in to comment