discourse/db/migrate/20121119200843_add_email_direct_to_users.rb

9 lines
275 B
Ruby
Raw Normal View History

2013-02-06 03:16:51 +08:00
class AddEmailDirectToUsers < ActiveRecord::Migration
def change
add_column :users, :email_direct, :boolean, default: true, null: false
remove_column :users, :email_mentions
remove_column :users, :email_replied
remove_column :users, :email_quoted
end
end