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

20130304105317_remove_blocked_from_user.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8f5b2c59b4396465abcbd598d0ab168a09357544 (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
class RemoveBlockedFromUser < ActiveRecord::Migration
  def up
    remove_column :users, :blocked
  end

  def down
    add_column :users, :blocked, :boolean
  end
end