mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
3b8819f0ab
This feature allows end users to "defer" topics by marking them unread The functionality is default disabled. This also introduces the new site setting default_other_enable_defer: to enable this by default on new user accounts.
8 lines
202 B
Ruby
8 lines
202 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddEnableDeferToUserOptions < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_column :user_options, :enable_defer, :boolean, default: false, null: false
|
|
end
|
|
end
|