##// END OF EJS Templates
Fix setting value if used (#20551)....
Jean-Philippe Lang -
r14331:3d46730ff038
parent child
Show More
@@ -0,0 +1,13
1 class FixCommaInUserFormatSettingValue < ActiveRecord::Migration
2 def self.up
3 Setting.
4 where(:name => 'user_format', :value => 'lastname_coma_firstname').
5 update_all(:value => 'lastname_comma_firstname')
6 end
7
8 def self.down
9 Setting.
10 where(:name => 'user_format', :value => 'lastname_comma_firstname').
11 update_all(:value => 'lastname_coma_firstname')
12 end
13 end
General Comments 0
You need to be logged in to leave comments. Login now