Fix ci_projects migration by using the value only from latest row [ci skip]
Fix ci_projects migration by using the value only from latest row [ci skip]

This is needed, because for some projects we have duplicate ci_projects.
This was introduced by lack of DB uniqueness on ci_projects.gitlab_id.

ttasanen/gitlabhq,SVArago/gitlabhq,SVArago/gitlabhq,larryli/gitlabhq,Soullivaneuh/gitlabhq,mr-dxdy/gitlabhq,mrb/gitlabhq,darkrasid/gitlabhq,Datacom/gitlabhq,larryli/gitlabhq,axilleas/gitlabhq,openwide-java/gitlabhq,duduribeiro/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,cui-liqiang/gitlab-ce,LUMC/gitlabhq,screenpages/gitlabhq,openwide-java/gitlabhq,yatish27/gitlabhq,t-zuehlsdorff/gitlabhq,Datacom/gitlabhq,LUMC/gitlabhq,koreamic/gitlabhq,htve/GitlabForChinese,axilleas/gitlabhq,martijnvermaat/gitlabhq,mmkassem/gitlabhq,larryli/gitlabhq,LUMC/gitlabhq,shinexiao/gitlabhq,darkrasid/gitlabhq,yatish27/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,mrb/gitlabhq,htve/GitlabForChinese,SVArago/gitlabhq,allysonbarros/gitlabhq,iiet/iiet-git,dreampet/gitlab,daiyu/gitlab-zh,Datacom/gitlabhq,dwrensha/gitlabhq,openwide-java/gitlabhq,dplarson/gitlabhq,jrjang/gitlabhq,allysonbarros/gitlabhq,htve/GitlabForChinese,Soullivaneuh/gitlabhq,cui-liqiang/gitlab-ce,martijnvermaat/gitlabhq,koreamic/gitlabhq,mmkassem/gitlabhq,yatish27/gitlabhq,ttasanen/gitlabhq,Soullivaneuh/gitlabhq,mr-dxdy/gitlabhq,dplarson/gitlabhq,dwrensha/gitlabhq,daiyu/gitlab-zh,LUMC/gitlabhq,dwrensha/gitlabhq,openwide-java/gitlabhq,larryli/gitlabhq,stoplightio/gitlabhq,yatish27/gitlabhq,dreampet/gitlab,duduribeiro/gitlabhq,icedwater/gitlabhq,jrjang/gitlabhq,daiyu/gitlab-zh,iiet/iiet-git,jirutka/gitlabhq,cui-liqiang/gitlab-ce,allysonbarros/gitlabhq,duduribeiro/gitlabhq,screenpages/gitlabhq,icedwater/gitlabhq,jrjang/gitlabhq,koreamic/gitlabhq,mr-dxdy/gitlabhq,Soullivaneuh/gitlabhq,ttasanen/gitlabhq,daiyu/gitlab-zh,dplarson/gitlabhq,martijnvermaat/gitlabhq,stoplightio/gitlabhq,axilleas/gitlabhq,duduribeiro/gitlabhq,dwrensha/gitlabhq,shinexiao/gitlabhq,dreampet/gitlab,darkrasid/gitlabhq,jrjang/gitlab-ce,mr-dxdy/gitlabhq,t-zuehlsdorff/gitlabhq,screenpages/gitlabhq,jrjang/gitlabhq,jirutka/gitlabhq,jirutka/gitlabhq,darkrasid/gitlabhq,iiet/iiet-git,screenpages/gitlabhq,SVArago/gitlabhq,mrb/gitlabhq,dplarson/gitlabhq,icedwater/gitlabhq,koreamic/gitlabhq,cui-liqiang/gitlab-ce,dreampet/gitlab,mrb/gitlabhq,ttasanen/gitlabhq,shinexiao/gitlabhq,icedwater/gitlabhq,Datacom/gitlabhq,jirutka/gitlabhq,shinexiao/gitlabhq,jrjang/gitlab-ce,mmkassem/gitlabhq,allysonbarros/gitlabhq,t-zuehlsdorff/gitlabhq,martijnvermaat/gitlabhq,jrjang/gitlab-ce,htve/GitlabForChinese,t-zuehlsdorff/gitlabhq,jrjang/gitlab-ce