diff options
author | Chris Baumbauer <cab@cabnetworks.net> | 2018-11-26 12:02:33 -0800 |
---|---|---|
committer | Chris Baumbauer <cab@cabnetworks.net> | 2018-11-26 12:46:00 -0800 |
commit | 2937be7b0c46ae97aa89572a9a349ed636198696 (patch) | |
tree | 49757cdd159b2385600d9a08ede07caf07a31313 /db | |
parent | 95ebdf3053ef9aeba657ff9bf1a5a66b608cc6dc (diff) | |
download | gitlab-ce-2937be7b0c46ae97aa89572a9a349ed636198696.tar.gz |
Expose external_ip to knative cluster application
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20181116050532_knative_external_ip.rb | 14 | ||||
-rw-r--r-- | db/schema.rb | 1 |
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 acabd7b442b..b3ae6cc0f14 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -698,6 +698,7 @@ ActiveRecord::Schema.define(version: 20181126150622) 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 |