Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-11-27 13:37:48 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2018-11-27 13:37:48 +0300
commit3a3a767c4a4fa4ca7a2858d5c5940e557661187a (patch)
tree7e07d8e653c0c532232027737c3a76671455b958 /db
parent195e33719ef217208a030b30f617cd3314d1365b (diff)
parent2937be7b0c46ae97aa89572a9a349ed636198696 (diff)
Merge branch 'triggermesh-phase2-external-ip' into 'master'
Expose External IP address for Knative's gateway See merge request gitlab-org/gitlab-ce!23162
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20181116050532_knative_external_ip.rb14
-rw-r--r--db/schema.rb1
2 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20181116050532_knative_external_ip.rb b/db/migrate/20181116050532_knative_external_ip.rb
new file mode 100644
index 00000000000..f1f903fb692
--- /dev/null
+++ b/db/migrate/20181116050532_knative_external_ip.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+# See http://doc.gitlab.com/ce/development/migration_style_guide.html
+# for more information on how to write migrations for GitLab.
+
+class KnativeExternalIp < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :clusters_applications_knative, :external_ip, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 7414aaee2ee..e0ca571df5a 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -698,6 +698,7 @@ ActiveRecord::Schema.define(version: 20181126153547) do
t.string "version", null: false
t.string "hostname"
t.text "status_reason"
+ t.string "external_ip"
t.index ["cluster_id"], name: "index_clusters_applications_knative_on_cluster_id", unique: true, using: :btree
end