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
197 B
Ruby
10 lines
197 B
Ruby
class AddMessagesLocked < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :messages, :locked, :boolean, :default => false
|
|
end
|
|
|
|
def self.down
|
|
remove_column :messages, :locked
|
|
end
|
|
end
|