DEV: Drop unused columns

This commit is contained in:
Gerhard Schlager
2020-01-20 14:16:52 +01:00
parent ce83fd93bb
commit ea11ad4d99
6 changed files with 23 additions and 17 deletions

View File

@@ -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"