Drop old user image columns

This commit is contained in:
Tom Hughes 2019-07-16 18:53:33 +01:00
parent 826b70fdc5
commit 8a39c6b4a2
3 changed files with 10 additions and 5 deletions

View file

@ -46,8 +46,6 @@
class User < ActiveRecord::Base
require "xml/libxml"
self.ignored_columns = %w[image_file_name image_fingerprint image_content_type]
has_many :traces, -> { where(:visible => true) }
has_many :diary_entries, -> { order(:created_at => :desc) }
has_many :diary_comments, -> { order(:created_at => :desc) }