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:
parent
a405e8f950
commit
bb5706e2f9
@ -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'
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user