Fix migrate task
This commit is contained in:
parent
ee5ce705d4
commit
0859ba75a8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue