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

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