allow to upload user initials

This commit is contained in:
Pete Matsyburka committed 2024-06-02 17:06:09 +03:00
1 parent f6c061a57b
commit e9a759055b
8 files changed
+126

No files matched your search

+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