mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Drop unused email column from users table.
This commit is contained in:
@@ -19,6 +19,9 @@ class User < ActiveRecord::Base
|
||||
include Roleable
|
||||
include HasCustomFields
|
||||
|
||||
# TODO: Remove this after 7th Jan 2018
|
||||
self.ignored_columns = %w{email}
|
||||
|
||||
has_many :posts
|
||||
has_many :notifications, dependent: :destroy
|
||||
has_many :topic_users, dependent: :destroy
|
||||
|
||||
Reference in New Issue
Block a user