1
0
şunun yansıması https://github.com/redmine/redmine.git eşitlendi 2024-07-27 20:19:39 +02:00
redmine/db/migrate/070_change_attachments_content_type_limit.rb

10 satır
257 B
Ruby

class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration[4.2]
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