Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20170307125949_add_last_activity_on_to_users.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 42331eab7537de781dd5b176e37a79920eb287d0 (plain)
1
2
3
4
5
6
7
8
9
class AddLastActivityOnToUsers < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :users, :last_activity_on, :date
  end
end