socialforge/db/migrate/20160918033136_update_issue...

14 lines
220 B
Ruby
Raw Normal View History

2016-09-18 14:20:08 +08:00
class UpdateIssueAuthor < ActiveRecord::Migration
def up
begin
issue = Issue.find(9377)
issue.update_column(:author_id, 15341)
rescue Exception => e
puts e
end
end
def down
end
end