mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 09:33:44 +08:00
6b04967e2f
Locking a post prevents it from being edited. This is useful if the user has posted something which has been edited out, and the staff members don't want them to be able to edit it back in again.
6 lines
126 B
Ruby
6 lines
126 B
Ruby
class AddLockedByToPosts < ActiveRecord::Migration[5.1]
|
|
def change
|
|
add_column :posts, :locked_by_id, :integer
|
|
end
|
|
end
|