OSDN Git Service

add Redmine trunk rev 3089
[redminele/redminele.git] / redmine / db / migrate / 20090614091200_fix_messages_sticky_null.rb
1 class FixMessagesStickyNull < ActiveRecord::Migration
2   def self.up
3     Message.update_all('sticky = 0', 'sticky IS NULL')
4   end
5
6   def self.down
7     # nothing to do
8   end
9 end