summaryrefslogtreecommitdiff
path: root/db/migrate/20180808162000_add_user_show_add_ssh_key_message_to_application_settings.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20180808162000_add_user_show_add_ssh_key_message_to_application_settings.rb')
-rw-r--r--db/migrate/20180808162000_add_user_show_add_ssh_key_message_to_application_settings.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20180808162000_add_user_show_add_ssh_key_message_to_application_settings.rb b/db/migrate/20180808162000_add_user_show_add_ssh_key_message_to_application_settings.rb
index 946d99a4c5f..6bf54f79644 100644
--- a/db/migrate/20180808162000_add_user_show_add_ssh_key_message_to_application_settings.rb
+++ b/db/migrate/20180808162000_add_user_show_add_ssh_key_message_to_application_settings.rb
@@ -10,7 +10,9 @@ class AddUserShowAddSshKeyMessageToApplicationSettings < ActiveRecord::Migration
disable_ddl_transaction!
def up
+ # rubocop:disable Migration/AddColumnWithDefault
add_column_with_default :application_settings, :user_show_add_ssh_key_message, :boolean, default: true, allow_null: false
+ # rubocop:enable Migration/AddColumnWithDefault
end
def down