mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
add user tokens
This commit is contained in:
1 parent
0a382a688c
commit
9ce822bce8
1 file changed
+1
@@ -57,6 +57,7 @@ class User < ApplicationRecord
|
||||
|
||||
belongs_to :account
|
||||
has_one :access_token, dependent: :destroy
|
||||
has_many :access_tokens, dependent: :destroy
|
||||
has_many :templates, dependent: :destroy, foreign_key: :author_id, inverse_of: :author
|
||||
has_many :template_folders, dependent: :destroy, foreign_key: :author_id, inverse_of: :author
|
||||
has_many :user_configs, dependent: :destroy
|
||||
|
||||
Reference in new issue
Block a user