Skip to content
Snippets Groups Projects
Commit 0a44ecf3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix migrate_iids for issues

parent 1f7d485d
No related branches found
No related tags found
1 merge request!5081fixed command to update init script
Loading
Loading
@@ -4,7 +4,7 @@ task migrate_iids: :environment do
Issue.where(iid: nil).find_each(batch_size: 100) do |issue|
begin
issue.set_iid
if issue.update_attribute(:iid, mr.iid)
if issue.update_attribute(:iid, issue.iid)
print '.'
else
print 'F'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment