0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/db/migrate/20190531044744_add_enable_defer_to_user_options.rb
Sam Saffron 3b8819f0ab FEATURE: add support for defer topic functionality
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.
2019-05-31 15:44:35 +10:00

7 lines
202 B
Ruby
Vendored

# 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