Commit cf43bf3620f7b2600f5af168f7bf56c0129924f2

Authored by GitLab
1 parent 0d3ba71b

Add db index for active user display.

CHANGELOG
  1 +v 6.9.0
  2 + - View active users in the admin dashboard
  3 +
1 4 v 6.8.0
2 5 - Ability to at mention users that are participating in issue and merge req. discussion
3 6 - 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
... ... @@ -0,0 +1,5 @@
  1 +class IndexOnCurrentSignInAt < ActiveRecord::Migration
  2 + def change
  3 + add_index :users, :current_sign_in_at
  4 + end
  5 +end
... ...
db/schema.rb
... ... @@ -332,6 +332,7 @@ ActiveRecord::Schema.define(version: 20140414131055) do
332 332 add_index "users", ["admin"], name: "index_users_on_admin", using: :btree
333 333 add_index "users", ["authentication_token"], name: "index_users_on_authentication_token", unique: true, using: :btree
334 334 add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree
  335 + add_index "users", ["current_sign_in_at"], name: "index_users_on_current_sign_in_at", using: :btree
335 336 add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree
336 337 add_index "users", ["extern_uid", "provider"], name: "index_users_on_extern_uid_and_provider", unique: true, using: :btree
337 338 add_index "users", ["name"], name: "index_users_on_name", using: :btree
... ...