From: Toshi MARUYAMA Date: Tue, 1 Mar 2011 09:47:06 +0000 (+0000) Subject: scm: add log_encoding column to repositories table (#1735). X-Git-Tag: 1.2.0~850 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=165ab7e6c35d4a885d04a6c08bfcea9c3d984095;p=redmine.git 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 --- diff --git a/db/migrate/20110228000000_add_repositories_log_encoding.rb b/db/migrate/20110228000000_add_repositories_log_encoding.rb new file mode 100644 index 000000000..85cadafce --- /dev/null +++ b/db/migrate/20110228000000_add_repositories_log_encoding.rb @@ -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