Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
9
db/migrate/20090614091200_fix_messages_sticky_null.rb
Normal file
9
db/migrate/20090614091200_fix_messages_sticky_null.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue