diff options
author | Rémy Coutable <remy@rymai.me> | 2017-03-07 19:35:32 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-04-14 15:20:55 +0200 |
commit | d4da926f48503125307fe3d4a4f3952df92fc1ce (patch) | |
tree | 1a4ed961162f686f282aa173deaf4af5f7406ea6 /db/migrate/20170307125949_add_last_activity_on_to_users.rb | |
parent | cfe19b795e076b73df75ee57839640667283651c (diff) | |
download | gitlab-ce-d4da926f48503125307fe3d4a4f3952df92fc1ce.tar.gz |
Add new ScheduleUpdateUserActivityWorker and UpdateUserActivityWorker
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'db/migrate/20170307125949_add_last_activity_on_to_users.rb')
-rw-r--r-- | db/migrate/20170307125949_add_last_activity_on_to_users.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20170307125949_add_last_activity_on_to_users.rb b/db/migrate/20170307125949_add_last_activity_on_to_users.rb new file mode 100644 index 00000000000..0100836b473 --- /dev/null +++ b/db/migrate/20170307125949_add_last_activity_on_to_users.rb @@ -0,0 +1,9 @@ +class AddLastActivityOnToUsers < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column :users, :last_activity_on, :date + end +end |