scm: add "path_encoding" column in repositories table (#2664, #2274).

Contributed by Yuya Nishihara.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4940 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-02-24 05:58:37 +00:00
parent a2e47f9fba
commit 4bf84ca468
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
class AddRepositoriesPathEncoding < ActiveRecord::Migration
def self.up
add_column :repositories, :path_encoding, :string, :limit => 64, :default => nil
end
def self.down
remove_column :repositories, :path_encoding
end
end