We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diaspora/app/controllers/admins_controller.rb
Line 43 in 1cbb3f9
username is not null
diaspora/app/models/user.rb
Line 37 in 1cbb3f9
Also, in migrate file, it denotes created_at will not be null,
diaspora/db/migrate/0000_create_schema.rb
Line 597 in 1cbb3f9
As a result, this query can be simplified to User.all to save the query time on the two paramater.
The text was updated successfully, but these errors were encountered:
I have submitted a pull request #8076.
Sorry, something went wrong.
No branches or pull requests
diaspora/app/controllers/admins_controller.rb
Line 43 in 1cbb3f9
the
username is not null
is not needed since there is already in user.rb which denotes that username will not be null.diaspora/app/models/user.rb
Line 37 in 1cbb3f9
Also, in migrate file, it denotes created_at will not be null,
diaspora/db/migrate/0000_create_schema.rb
Line 597 in 1cbb3f9
As a result, this query can be simplified to User.all to save the query time on the two paramater.
The text was updated successfully, but these errors were encountered: