Commit c8ad3346 authored by Stan Hu's avatar Stan Hu

Simplify migration

parent 49d8c1c8
...@@ -4,11 +4,7 @@ class ReaddNotifiedOfOwnActivityToUsers < ActiveRecord::Migration ...@@ -4,11 +4,7 @@ class ReaddNotifiedOfOwnActivityToUsers < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
def up def change
add_column :users, :notified_of_own_activity, :boolean add_column :users, :notified_of_own_activity, :boolean
end end
def down
remove_column :users, :notified_of_own_activity
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment