summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb1
2 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 56a3eed3d..e8f8fac73 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -145,7 +145,6 @@ Layout/EmptyLineBetweenDefs:
- 'app/models/user.rb'
- 'app/models/user_preference.rb'
- 'app/models/version.rb'
- - 'db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb'
- 'lib/redmine/info.rb'
- 'lib/redmine/version.rb'
- 'test/functional/email_addresses_controller_test.rb'
diff --git a/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb b/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb
index 620deb251..f7e0018aa 100644
--- a/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb
+++ b/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb
@@ -2,6 +2,7 @@ class ChangeAttachmentsDigestLimitTo64 < ActiveRecord::Migration[4.2]
def up
change_column :attachments, :digest, :string, limit: 64
end
+
def down
change_column :attachments, :digest, :string, limit: 40
end