add user tokens

pull/414/head
Pete Matsyburka 10 months ago
parent 0a382a688c
commit 9ce822bce8

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

Loading…
Cancel
Save