summaryrefslogtreecommitdiff
path: root/db/migrate/20180315160435_add_external_auth_mutual_tls_fields_to_project_settings.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20180315160435_add_external_auth_mutual_tls_fields_to_project_settings.rb')
-rw-r--r--db/migrate/20180315160435_add_external_auth_mutual_tls_fields_to_project_settings.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/db/migrate/20180315160435_add_external_auth_mutual_tls_fields_to_project_settings.rb b/db/migrate/20180315160435_add_external_auth_mutual_tls_fields_to_project_settings.rb
index c379d207ff0..dd40c5fdf4d 100644
--- a/db/migrate/20180315160435_add_external_auth_mutual_tls_fields_to_project_settings.rb
+++ b/db/migrate/20180315160435_add_external_auth_mutual_tls_fields_to_project_settings.rb
@@ -1,8 +1,9 @@
class AddExternalAuthMutualTlsFieldsToProjectSettings < ActiveRecord::Migration[4.2]
DOWNTIME = false
+ # rubocop:disable Migration/PreventStrings
+ # rubocop:disable Migration/AddLimitToTextColumns
def change
- # rubocop:disable Migration/AddLimitToStringColumns
add_column :application_settings,
:external_auth_client_cert, :text
add_column :application_settings,
@@ -13,6 +14,7 @@ class AddExternalAuthMutualTlsFieldsToProjectSettings < ActiveRecord::Migration[
:encrypted_external_auth_client_key_pass, :string
add_column :application_settings,
:encrypted_external_auth_client_key_pass_iv, :string
- # rubocop:enable Migration/AddLimitToStringColumns
end
+ # rubocop:enable Migration/AddLimitToTextColumns
+ # rubocop:enable Migration/PreventStrings
end