mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-04-30 01:17:31 +08:00
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.
7 lines
202 B
Ruby
7 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
|