discourse/db/migrate/20131229221725_add_watch_new_topics_to_users.rb
Sam db1d01d1a2 Discourse as a Mailing List improvements
FEATURE: context is not emailed if we previously emailed you the post
FEATURE: site setting to enable_watch_new_topics , false by default.
  When enables users can elect to watch everything by default
FIX: Custom email subjects (x quoted you in [title], x replied to [title])
  was removed, this broke email grouping. TBD, include info in footer somehow
FIX: topic user specs were messy, reduce side effects
2013-12-30 13:02:12 +11:00

5 lines
160 B
Ruby

class AddWatchNewTopicsToUsers < ActiveRecord::Migration
def change
add_column :users, :watch_new_topics, :boolean, default: false, null: false
end
end