summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorwalkafwalka <2865898-walkafwalka@users.noreply.gitlab.com>2019-03-07 13:51:43 -0800
committerwalkafwalka <2865898-walkafwalka@users.noreply.gitlab.com>2019-03-07 15:25:48 -0800
commit460797dec3dc143943390e86a09d6e6b45a465d8 (patch)
treea5495703f3bfd1152929c84853322cd9a6812f15 /db/migrate
parent31cf53df4d766ef58d6d5be60d5fa2e380406fc8 (diff)
downloadgitlab-ce-460797dec3dc143943390e86a09d6e6b45a465d8.tar.gz
Add support for ingress hostnamesingress-hostnames
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20190301182457_add_external_hostname_to_ingress_and_knative.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20190301182457_add_external_hostname_to_ingress_and_knative.rb b/db/migrate/20190301182457_add_external_hostname_to_ingress_and_knative.rb
new file mode 100644
index 00000000000..2c3a54b12a9
--- /dev/null
+++ b/db/migrate/20190301182457_add_external_hostname_to_ingress_and_knative.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+class AddExternalHostnameToIngressAndKnative < ActiveRecord::Migration[5.0]
+ DOWNTIME = false
+
+ def change
+ add_column :clusters_applications_ingress, :external_hostname, :string
+ add_column :clusters_applications_knative, :external_hostname, :string
+ end
+end