29b3614bcb
* messages can now be edited/deleted (explicit permissions need to be given) * topics can be locked so that no reply can be added (only by users allowed to edit messages) * topics can be marked as sticky so that they always appear at the top of the list (only by users allowed to edit messages) git-svn-id: http://redmine.rubyforge.org/svn/trunk@926 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 lines
193 B
Ruby
10 lines
193 B
Ruby
class AddMessagesSticky < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :messages, :sticky, :integer, :default => 0
|
|
end
|
|
|
|
def self.down
|
|
remove_column :messages, :sticky
|
|
end
|
|
end
|