view db/migrate/.svn/text-base/20090614091200_fix_messages_sticky_null.rb.svn-base @ 629:f9470a59e5da feature_36

Feature #241 - Added permissions to the Show Publication view.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 25 Aug 2011 14:57:08 +0100
parents 513646585e45
children
line wrap: on
line source
class FixMessagesStickyNull < ActiveRecord::Migration
  def self.up
    Message.update_all('sticky = 0', 'sticky IS NULL')
  end

  def self.down
    # nothing to do
  end
end