Mercurial > hg > soundsoftware-site
diff db/migrate/20130713104233_create_custom_fields_roles.rb @ 1517:dffacf8a6908 redmine-2.5
Update to Redmine SVN revision 13367 on 2.5-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:29:00 +0100 |
parents | 261b3d9a4903 |
children |
line wrap: on
line diff
--- a/db/migrate/20130713104233_create_custom_fields_roles.rb Tue Sep 09 09:28:31 2014 +0100 +++ b/db/migrate/20130713104233_create_custom_fields_roles.rb Tue Sep 09 09:29:00 2014 +0100 @@ -5,7 +5,7 @@ t.column :role_id, :integer, :null => false end add_index :custom_fields_roles, [:custom_field_id, :role_id], :unique => true, :name => :custom_fields_roles_ids - CustomField.update_all({:visible => true}, {:type => 'IssueCustomField'}) + CustomField.where({:type => 'IssueCustomField'}).update_all({:visible => true}) end def self.down