mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-17 06:28:13 +00:00
Long paths to SCM files would be truncated or wouldn't insert into some databases. This extends those fields to support arbitrary length filenames. Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3828 e93f8b46-1217-0410-a6f0-8f06a7374b81
12 lines
350 B
Ruby
12 lines
350 B
Ruby
class ChangeChangesPathLengthLimit < ActiveRecord::Migration
|
|
def self.up
|
|
change_column :changes, :path, :text, :default => "", :null => false
|
|
change_column :changes, :from_path, :text
|
|
end
|
|
|
|
def self.down
|
|
change_column :changes, :path, :string, :default => "", :null => false
|
|
change_column :changes, :from_path, :string
|
|
end
|
|
end
|