Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
cf43bf36
Commit
cf43bf36
authored
Apr 16, 2014
by
GitLab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add db index for active user display.
parent
0d3ba71b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
CHANGELOG
CHANGELOG
+3
-0
db/migrate/20140416185734_index_on_current_sign_in_at.rb
db/migrate/20140416185734_index_on_current_sign_in_at.rb
+5
-0
db/schema.rb
db/schema.rb
+1
-0
No files found.
CHANGELOG
View file @
cf43bf36
v 6.9.0
- View active users in the admin dashboard
v 6.8.0
- Ability to at mention users that are participating in issue and merge req. discussion
- Enabled GZip Compression for assets in example Nginx, make sure that Nginx is compiled with --with-http_gzip_static_module flag (this is default in Ubuntu)
...
...
db/migrate/20140416185734_index_on_current_sign_in_at.rb
0 → 100644
View file @
cf43bf36
class
IndexOnCurrentSignInAt
<
ActiveRecord
::
Migration
def
change
add_index
:users
,
:current_sign_in_at
end
end
db/schema.rb
View file @
cf43bf36
...
...
@@ -332,6 +332,7 @@ ActiveRecord::Schema.define(version: 20140414131055) do
add_index
"users"
,
[
"admin"
],
name:
"index_users_on_admin"
,
using: :btree
add_index
"users"
,
[
"authentication_token"
],
name:
"index_users_on_authentication_token"
,
unique:
true
,
using: :btree
add_index
"users"
,
[
"confirmation_token"
],
name:
"index_users_on_confirmation_token"
,
unique:
true
,
using: :btree
add_index
"users"
,
[
"current_sign_in_at"
],
name:
"index_users_on_current_sign_in_at"
,
using: :btree
add_index
"users"
,
[
"email"
],
name:
"index_users_on_email"
,
unique:
true
,
using: :btree
add_index
"users"
,
[
"extern_uid"
,
"provider"
],
name:
"index_users_on_extern_uid_and_provider"
,
unique:
true
,
using: :btree
add_index
"users"
,
[
"name"
],
name:
"index_users_on_name"
,
using: :btree
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment