socialforge/db/migrate/20160918033136_update_issue...

14 lines
220 B
Ruby

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