From 165ab7e6c35d4a885d04a6c08bfcea9c3d984095 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 1 Mar 2011 09:47:06 +0000 Subject: [PATCH] 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 --- .../20110228000000_add_repositories_log_encoding.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20110228000000_add_repositories_log_encoding.rb 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 -- 2.39.5