10 lines
176 B
Ruby
10 lines
176 B
Ruby
|
class UpdateUserExtensions < ActiveRecord::Migration
|
||
|
def up
|
||
|
ues = UserExtensions.where(:school_id => 0)
|
||
|
ues.update_all(:school_id => nil)
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
end
|
||
|
end
|