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: 4b86814e05d022b843180a315c01f3e18538907f (plain)
1
2
3
4
5
6
7
8
9
10
11
class AddColumnGhostToUsers < ActiveRecord::Migration[4.2]
  DOWNTIME = false

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

  def down
    remove_column :users, :ghost
  end
end