1
0
Mirror von https://github.com/redmine/redmine.git synchronisiert 2024-08-01 08:18:13 +02:00
redmine/db/migrate/20090614091200_fix_messages_sticky_null.rb
2014-01-07 10:03:11 +00:00

10 Zeilen
182 B
Ruby

class FixMessagesStickyNull < ActiveRecord::Migration
def self.up
Message.where('sticky IS NULL').update_all('sticky = 0')
end
def self.down
# nothing to do
end
end