##// END OF EJS Templates
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7924:66cc0fe7ab83
r9794:d7b669e50b1c
Show More
20110228000100_copy_repositories_log_encoding.rb
11 lines | 344 B | text/x-ruby | RubyLexer
/ db / migrate / 20110228000100_copy_repositories_log_encoding.rb
class CopyRepositoriesLogEncoding < ActiveRecord::Migration
def self.up
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], "type IN ('Bazaar', 'Cvs', 'Darcs')")
end
def self.down
end
end