summaryrefslogtreecommitdiff
path: root/db/migrate/20190516151857_add_lets_encrypt_private_key_to_application_settings.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190516151857_add_lets_encrypt_private_key_to_application_settings.rb')
-rw-r--r--db/migrate/20190516151857_add_lets_encrypt_private_key_to_application_settings.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20190516151857_add_lets_encrypt_private_key_to_application_settings.rb b/db/migrate/20190516151857_add_lets_encrypt_private_key_to_application_settings.rb
index e1d3cca48d6..a2692ad32e9 100644
--- a/db/migrate/20190516151857_add_lets_encrypt_private_key_to_application_settings.rb
+++ b/db/migrate/20190516151857_add_lets_encrypt_private_key_to_application_settings.rb
@@ -9,8 +9,10 @@ class AddLetsEncryptPrivateKeyToApplicationSettings < ActiveRecord::Migration[5.
# Set this constant to true if this migration requires downtime.
DOWNTIME = false
+ # rubocop:disable Migration/AddLimitToTextColumns
def change
add_column :application_settings, :encrypted_lets_encrypt_private_key, :text
add_column :application_settings, :encrypted_lets_encrypt_private_key_iv, :text
end
+ # rubocop:enable Migration/AddLimitToTextColumns
end