allow to upload user initials

This commit is contained in:
Pete Matsyburka
2024-06-02 17:06:09 +03:00
parent f6c061a57b
commit e9a759055b
8 changed files with 126 additions and 0 deletions
+1
View File
@@ -50,6 +50,7 @@ class User < ApplicationRecord
EMAIL_REGEXP = /[^@;,<>\s]+@[^@;,<>\s]+/
has_one_attached :signature
has_one_attached :initials
belongs_to :account
has_one :access_token, dependent: :destroy