mirror of
https://github.com/redmine/redmine.git
synced 2024-08-25 17:55:20 +02:00
10 lines
176 B
Ruby
10 lines
176 B
Ruby
![]() |
class FixMessagesStickyNull < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
Message.update_all('sticky = 0', 'sticky IS NULL')
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
# nothing to do
|
||
|
end
|
||
|
end
|