diff options
Diffstat (limited to 'db/migrate/20180308125206_add_user_internal_regex_to_application_setting.rb')
-rw-r--r-- | db/migrate/20180308125206_add_user_internal_regex_to_application_setting.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/db/migrate/20180308125206_add_user_internal_regex_to_application_setting.rb b/db/migrate/20180308125206_add_user_internal_regex_to_application_setting.rb index 9bdd44baf58..d97d2953677 100644 --- a/db/migrate/20180308125206_add_user_internal_regex_to_application_setting.rb +++ b/db/migrate/20180308125206_add_user_internal_regex_to_application_setting.rb @@ -3,9 +3,11 @@ class AddUserInternalRegexToApplicationSetting < ActiveRecord::Migration[4.2] DOWNTIME = false + # rubocop:disable Migration/PreventStrings def up - add_column :application_settings, :user_default_internal_regex, :string, null: true # rubocop:disable Migration/AddLimitToStringColumns + add_column :application_settings, :user_default_internal_regex, :string, null: true end + # rubocop:enable Migration/PreventStrings def down remove_column :application_settings, :user_default_internal_regex |