Simplify migration
This commit is contained in:
parent
49d8c1c891
commit
c8ad3346b0
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue