summaryrefslogtreecommitdiff
path: root/db/migrate/20130304105317_remove_blocked_from_user.rb
blob: e010474538c5b22d76b7ec00ce030a3583b2a1b2 (plain)
1
2
3
4
5
6
7
8
9
class RemoveBlockedFromUser < ActiveRecord::Migration
  def up
    remove_column :users, :blocked
  end

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