spogulis no
https://github.com/redmine/redmine.git
synced 2024-08-01 08:18:13 +02:00
0bc3ef5014
git-svn-id: http://svn.redmine.org/redmine/trunk@12488 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 rindas
182 B
Ruby
10 rindas
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
|