Forums enhancements:
* 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
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class AddMessagesLocked < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :messages, :locked, :boolean, :default => false
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :messages, :locked
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
class AddMessagesSticky < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :messages, :sticky, :integer, :default => 0
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :messages, :sticky
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user