diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-01 09:47:06 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-01 09:47:06 +0000 |
commit | 165ab7e6c35d4a885d04a6c08bfcea9c3d984095 (patch) | |
tree | 7451061ec1593fecbaaa22a8d88e257f7208e033 /db/migrate/20110228000000_add_repositories_log_encoding.rb | |
parent | f2c750c3e9fc188ae2efc471ffebe37f1e634431 (diff) | |
download | redmine-165ab7e6c35d4a885d04a6c08bfcea9c3d984095.tar.gz redmine-165ab7e6c35d4a885d04a6c08bfcea9c3d984095.zip |
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
Diffstat (limited to 'db/migrate/20110228000000_add_repositories_log_encoding.rb')
-rw-r--r-- | db/migrate/20110228000000_add_repositories_log_encoding.rb | 9 |
1 files changed, 9 insertions, 0 deletions
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 |