parent
e46a10749b
commit
f8611f90b6
@ -0,0 +1,11 @@
|
||||
class ModifyForkFromForShixuns < ActiveRecord::Migration
|
||||
def up
|
||||
shixuns = Shixun.where(:fork_from => 1933)
|
||||
shixuns.each do |shixun|
|
||||
shixun.update_attribute(:fork_from, nil)
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
Loading…
Reference in new issue