mirror of
https://github.com/redmine/redmine.git
synced 2024-09-13 15:45:44 +02:00
8195f95464
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1222 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 lines
252 B
Ruby
10 lines
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
|