code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18515 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-09-24 05:21:20 +00:00
parent a405e8f950
commit bb5706e2f9
2 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,6 @@ Layout/EmptyLineBetweenDefs:
- 'app/models/user.rb' - 'app/models/user.rb'
- 'app/models/user_preference.rb' - 'app/models/user_preference.rb'
- 'app/models/version.rb' - 'app/models/version.rb'
- 'db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb'
- 'lib/redmine/info.rb' - 'lib/redmine/info.rb'
- 'lib/redmine/version.rb' - 'lib/redmine/version.rb'
- 'test/functional/email_addresses_controller_test.rb' - 'test/functional/email_addresses_controller_test.rb'

View File

@ -2,6 +2,7 @@ class ChangeAttachmentsDigestLimitTo64 < ActiveRecord::Migration[4.2]
def up def up
change_column :attachments, :digest, :string, limit: 64 change_column :attachments, :digest, :string, limit: 64
end end
def down def down
change_column :attachments, :digest, :string, limit: 40 change_column :attachments, :digest, :string, limit: 40
end end