mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 01:53:45 +08:00
9 lines
275 B
Ruby
9 lines
275 B
Ruby
|
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
|