CREATE INDEX diagnostics_user_id ON diagnostics USING btree(user_id);