mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Drop unused columns
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class UserProfile < ActiveRecord::Base
|
||||
self.ignored_columns = %w{
|
||||
card_background
|
||||
profile_background
|
||||
}
|
||||
|
||||
belongs_to :user, inverse_of: :user_profile
|
||||
belongs_to :card_background_upload, class_name: "Upload"
|
||||
belongs_to :profile_background_upload, class_name: "Upload"
|
||||
|
||||
Reference in New Issue
Block a user