diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-07-25 08:59:23 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-07-25 17:47:12 +0800 |
commit | b95da565cd91fff0729fb4bf6632fb6224de8843 (patch) | |
tree | bc2fb2fe99f42b2aae6ff9ed6557366c7959d7b4 /db/migrate/20180531220618_change_default_value_for_dsa_key_restriction.rb | |
parent | 068768e1f8b64f7de4fe18b094e7f2e7555c9398 (diff) | |
download | gitlab-ce-b95da565cd91fff0729fb4bf6632fb6224de8843.tar.gz |
Enable rubocop for db/**/* and ee/db/**/*49582-enable-cops-for-db
Diffstat (limited to 'db/migrate/20180531220618_change_default_value_for_dsa_key_restriction.rb')
-rw-r--r-- | db/migrate/20180531220618_change_default_value_for_dsa_key_restriction.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20180531220618_change_default_value_for_dsa_key_restriction.rb b/db/migrate/20180531220618_change_default_value_for_dsa_key_restriction.rb index d0dcacc5b66..dbbbcd1f622 100644 --- a/db/migrate/20180531220618_change_default_value_for_dsa_key_restriction.rb +++ b/db/migrate/20180531220618_change_default_value_for_dsa_key_restriction.rb @@ -4,13 +4,13 @@ class ChangeDefaultValueForDsaKeyRestriction < ActiveRecord::Migration def up change_column :application_settings, :dsa_key_restriction, :integer, null: false, - default: -1 + default: -1 execute("UPDATE application_settings SET dsa_key_restriction = -1") end def down change_column :application_settings, :dsa_key_restriction, :integer, null: false, - default: 0 + default: 0 end end |