mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 21:10:27 +01:00
Changes the digest used for attachments to SHA256 (#25240).
Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@16454 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class ChangeAttachmentsDigestLimitTo64 < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :attachments, :digest, :string, limit: 64
|
||||
end
|
||||
def down
|
||||
change_column :attachments, :digest, :string, limit: 40
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user