mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 02:03:45 +08:00
46b34e3c62
Users can no longer opt-in for "public" edit history if site owner disables it. This feature adds cost and complexity to post rendering since user options need to be premeptively loaded for every user in the stream. It is also confusing to explain to communities with private edit history.
10 lines
193 B
Ruby
10 lines
193 B
Ruby
class RemoveEditHistoryPublic < ActiveRecord::Migration
|
|
def up
|
|
remove_column :user_options, :edit_history_public
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|