summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-03 13:42:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-03 13:42:58 +0000
commit66cc0fe7ab83a7566837a6703212b1be397639b8 (patch)
tree7ed9ed581b5667f5d7ac1a6953a2d8bbc3ecdf67 /db
parent1fbcd1051ead84c6387af9d1faaf9cd1c0405653 (diff)
downloadredmine-66cc0fe7ab83a7566837a6703212b1be397639b8.tar.gz
redmine-66cc0fe7ab83a7566837a6703212b1be397639b8.zip
Typo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8044 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20110228000100_copy_repositories_log_encoding.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20110228000100_copy_repositories_log_encoding.rb b/db/migrate/20110228000100_copy_repositories_log_encoding.rb
index b422daba9..314932883 100644
--- a/db/migrate/20110228000100_copy_repositories_log_encoding.rb
+++ b/db/migrate/20110228000100_copy_repositories_log_encoding.rb
@@ -3,7 +3,7 @@ class CopyRepositoriesLogEncoding < ActiveRecord::Migration
encoding = Setting.commit_logs_encoding.to_s.strip
encoding = encoding.blank? ? 'UTF-8' : encoding
# encoding is NULL by default
- Repository.update_all(["log_encoding = ?", encoding], "log_encoding IN ('Bazaar', 'Cvs', 'Darcs')")
+ Repository.update_all(["log_encoding = ?", encoding], "type IN ('Bazaar', 'Cvs', 'Darcs')")
end
def self.down