summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJames Lopez <james@gitlab.com>2019-08-09 07:10:26 +0000
committerJames Lopez <james@gitlab.com>2019-08-09 07:10:26 +0000
commitbbf639c43d689bd63a32ef7a60bdf83d3bd329bf (patch)
tree68d2182b70be99a3bf23376c5287fbc7e51f7a57 /db
parenta577123003d1401bc3998030ab92c976dd2d5651 (diff)
parente3696bf20e4d646f46f847237da828eaee00253a (diff)
downloadgitlab-ce-bbf639c43d689bd63a32ef7a60bdf83d3bd329bf.tar.gz
Merge branch '39217-remove-kubernetes-service-integration' into 'master'
Remove KubernetesService integration See merge request gitlab-org/gitlab-ce!31365
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20190801060809_delete_kubernetes_services.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20190801060809_delete_kubernetes_services.rb b/db/migrate/20190801060809_delete_kubernetes_services.rb
new file mode 100644
index 00000000000..018976584d4
--- /dev/null
+++ b/db/migrate/20190801060809_delete_kubernetes_services.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+class DeleteKubernetesServices < ActiveRecord::Migration[5.2]
+ DOWNTIME = false
+
+ def up
+ Service.where(type: "KubernetesService").delete_all
+ end
+
+ def down
+ # no-op
+ end
+end