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
|
||||
|
||||
def up
|
||||
def change
|
||||
add_column :users, :notified_of_own_activity, :boolean
|
||||
end
|
||||
|
||||
def down
|
||||
remove_column :users, :notified_of_own_activity
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue