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

20170206115204_add_column_ghost_to_users.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cc1eeda1160f11fab73cf3e53adda376a7a1bbd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
class AddColumnGhostToUsers < ActiveRecord::Migration
  DOWNTIME = false

  def up
    add_column :users, :ghost, :boolean
  end

  def down
    remove_column :users, :ghost
  end
end