discourse/db/migrate/20160716112354_remove_edit_history_public.rb
Sam Saffron 46b34e3c62 FEATURE: remove user option for edit history public
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.
2016-07-16 21:30:00 +10:00

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