summaryrefslogtreecommitdiff
path: root/db/migrate/20190301182457_add_external_hostname_to_ingress_and_knative.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190301182457_add_external_hostname_to_ingress_and_knative.rb')
-rw-r--r--db/migrate/20190301182457_add_external_hostname_to_ingress_and_knative.rb6
1 files changed, 4 insertions, 2 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
index 37ba1090cf0..4cb6053fbe1 100644
--- a/db/migrate/20190301182457_add_external_hostname_to_ingress_and_knative.rb
+++ b/db/migrate/20190301182457_add_external_hostname_to_ingress_and_knative.rb
@@ -3,8 +3,10 @@
class AddExternalHostnameToIngressAndKnative < ActiveRecord::Migration[5.0]
DOWNTIME = false
+ # rubocop:disable Migration/PreventStrings
def change
- add_column :clusters_applications_ingress, :external_hostname, :string # rubocop:disable Migration/AddLimitToStringColumns
- add_column :clusters_applications_knative, :external_hostname, :string # rubocop:disable Migration/AddLimitToStringColumns
+ add_column :clusters_applications_ingress, :external_hostname, :string
+ add_column :clusters_applications_knative, :external_hostname, :string
end
+ # rubocop:enable Migration/PreventStrings
end