parent
b6389a22f3
commit
53bdeed1e4
@ -0,0 +1,13 @@
|
|||||||
|
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
|
Loading…
Reference in new issue