Browse Source

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
tags/4.1.0
Toshi MARUYAMA 4 years ago
parent
commit
bb5706e2f9

+ 0
- 1
.rubocop_todo.yml View File

@@ -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'

+ 1
- 0
db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb View File

@@ -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

Loading…
Cancel
Save