Mercurial > hg > soundsoftware-site
diff .svn/pristine/8f/8f432f3794bad71b8b15d0a2b9eb0bdfa9179a1e.svn-base @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/8f/8f432f3794bad71b8b15d0a2b9eb0bdfa9179a1e.svn-base Fri Jun 14 09:28:30 2013 +0100 @@ -0,0 +1,13 @@ +class SerializePossiblesValues < ActiveRecord::Migration + def self.up + CustomField.all.each do |field| + if field.possible_values and field.possible_values.is_a? String + field.possible_values = field.possible_values.split('|') + field.save + end + end + end + + def self.down + end +end