scm: add log_encoding column to repositories table (#1735).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4980 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-03-01 09:47:06 +00:00
parent f2c750c3e9
commit 165ab7e6c3
1 changed files with 9 additions and 0 deletions

View File

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