Simplify migration

This commit is contained in:
Stan Hu 2017-03-24 15:13:25 -07:00
parent 49d8c1c891
commit c8ad3346b0

View file

@ -4,11 +4,7 @@ class ReaddNotifiedOfOwnActivityToUsers < ActiveRecord::Migration
DOWNTIME = false
def up
def change
add_column :users, :notified_of_own_activity, :boolean
end
def down
remove_column :users, :notified_of_own_activity
end
end