Commit f48f7760 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'update-ee-downgrade-instructions' into 'master'

Update EE downgrade instructions to include JenkinsDeprecatedService

EE now includes JenkinsDeprecatedService in addition to JenkinsService, so we need to clean both when downgrading from EE to CE.

Closes #19133
    
[ci skip]

See merge request !4916
parents 298b4850 12c688c1
...@@ -44,13 +44,13 @@ to avoid getting this error, you need to remove all instances of the ...@@ -44,13 +44,13 @@ to avoid getting this error, you need to remove all instances of the
**Omnibus Installation** **Omnibus Installation**
``` ```
$ sudo gitlab-rails runner "Service.where(type: 'JenkinsService').delete_all" $ sudo gitlab-rails runner "Service.where(type: ['JenkinsService', 'JenkinsDeprecatedService']).delete_all"
``` ```
**Source Installation** **Source Installation**
``` ```
$ bundle exec rails runner "Service.where(type: 'JenkinsService').delete_all" production $ bundle exec rails runner "Service.where(type: ['JenkinsService', 'JenkinsDeprecatedService']).delete_all" production
``` ```
## Downgrade to CE ## Downgrade to CE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment