debian-mirror-gitlab/db/migrate/20130304105317_remove_blocked_from_user.rb

10 lines
168 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
class RemoveBlockedFromUser < ActiveRecord::Migration
def up
remove_column :users, :blocked
end
def down
add_column :users, :blocked, :boolean
end
end