镜像自地址
https://github.com/redmine/redmine.git
已同步 2024-08-18 14:10:15 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1222 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 行
252 B
Ruby
10 行
252 B
Ruby
class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration
|
|
def self.up
|
|
change_column :attachments, :content_type, :string, :limit => nil
|
|
end
|
|
|
|
def self.down
|
|
change_column :attachments, :content_type, :string, :limit => 60
|
|
end
|
|
end
|