2019-03-07 21:51:43 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class AddExternalHostnameToIngressAndKnative < ActiveRecord::Migration[5.0]
|
|
|
|
DOWNTIME = false
|
|
|
|
|
2020-04-21 15:21:10 +00:00
|
|
|
# rubocop:disable Migration/PreventStrings
|
2019-03-07 21:51:43 +00:00
|
|
|
def change
|
2020-04-21 15:21:10 +00:00
|
|
|
add_column :clusters_applications_ingress, :external_hostname, :string
|
|
|
|
add_column :clusters_applications_knative, :external_hostname, :string
|
2019-03-07 21:51:43 +00:00
|
|
|
end
|
2020-04-21 15:21:10 +00:00
|
|
|
# rubocop:enable Migration/PreventStrings
|
2019-03-07 21:51:43 +00:00
|
|
|
end
|