Fix migrate task

This commit is contained in:
Kamil Trzcinski 2015-09-16 13:30:03 +02:00
parent ee5ce705d4
commit 0859ba75a8
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ namespace :ci do
desc 'GitLab | Migrate CI services'
task services: :environment do
c = ActiveRecord::Base.connection
c.execute("UPDATE ci_services SET type=CONCAT('Ci::'', type) WHERE type NOT LIKE 'Ci::%'")
c.execute("UPDATE ci_services SET type=CONCAT('Ci::', type) WHERE type NOT LIKE 'Ci::%'")
end
end
end