##// END OF EJS Templates
upgrade Rails to 4.2.7.1...
upgrade Rails to 4.2.7.1 git-svn-id: http://svn.redmine.org/redmine/trunk@15734 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12213:0bc3ef5014dd
r15352:f710d594e3b0
Show More
20090614091200_fix_messages_sticky_null.rb
9 lines | 182 B | text/x-ruby | RubyLexer
/ db / migrate / 20090614091200_fix_messages_sticky_null.rb
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