annotate .svn/pristine/5d/5dff77419b9473a0b68c43eaf31092c47904cb7a.svn-base @ 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
children
rev   line source
Chris@1517 1 class FixMessagesStickyNull < ActiveRecord::Migration
Chris@1517 2 def self.up
Chris@1517 3 Message.where('sticky IS NULL').update_all('sticky = 0')
Chris@1517 4 end
Chris@1517 5
Chris@1517 6 def self.down
Chris@1517 7 # nothing to do
Chris@1517 8 end
Chris@1517 9 end