From 4bf84ca468dbd31d77747868156c01cd87cf3ff6 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 24 Feb 2011 05:58:37 +0000 Subject: [PATCH] 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 --- .../20110224000000_add_repositories_path_encoding.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20110224000000_add_repositories_path_encoding.rb diff --git a/db/migrate/20110224000000_add_repositories_path_encoding.rb b/db/migrate/20110224000000_add_repositories_path_encoding.rb new file mode 100644 index 000000000..253d7a66e --- /dev/null +++ b/db/migrate/20110224000000_add_repositories_path_encoding.rb @@ -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