mirror da
https://github.com/redmine/redmine.git
synced 2024-08-19 02:10:14 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
* 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 righe
197 B
Ruby
10 righe
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
|