diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-20 22:41:05 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-20 22:41:05 +0300 |
commit | 0a44ecf3a0eb7be66b2dbbb6e8404e3242a4b016 (patch) | |
tree | fd179f8f768bf24b49fe7c19ae31d5ad871ce119 /lib/tasks/migrate | |
parent | 1f7d485d33b38acf77d26295945a9392708b5ff0 (diff) | |
download | gitlab-ce-0a44ecf3a0eb7be66b2dbbb6e8404e3242a4b016.tar.gz |
Fix migrate_iids for issues
Diffstat (limited to 'lib/tasks/migrate')
-rw-r--r-- | lib/tasks/migrate/migrate_iids.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/migrate/migrate_iids.rake b/lib/tasks/migrate/migrate_iids.rake index aef2b319df9..bc612cd69a7 100644 --- a/lib/tasks/migrate/migrate_iids.rake +++ b/lib/tasks/migrate/migrate_iids.rake @@ -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' |