discourse/db/migrate/20121119200843_add_email_di...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
311 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddEmailDirectToUsers < ActiveRecord::Migration[4.2]
2013-02-05 14:16:51 -05:00
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