File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
lib/algora/accounts/schemas Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ defmodule Algora.Accounts.User do
6
6
alias Algora.Accounts.User
7
7
alias Algora.Activities.Activity
8
8
alias Algora.Bounties.Bounty
9
+ alias Algora.Bounties.Tip
9
10
alias Algora.Contracts.Contract
10
11
alias Algora.MoneyUtils
11
12
alias Algora.Organizations.Member
@@ -77,6 +78,8 @@ defmodule Algora.Accounts.User do
77
78
has_many :members , Member , foreign_key: :org_id
78
79
has_many :owned_bounties , Bounty , foreign_key: :owner_id
79
80
has_many :created_bounties , Bounty , foreign_key: :creator_id
81
+ has_many :owned_tips , Tip , foreign_key: :owner_id
82
+ has_many :created_tips , Tip , foreign_key: :creator_id
80
83
has_many :attempts , Algora.Bounties.Attempt
81
84
has_many :claims , Algora.Bounties.Claim
82
85
has_many :projects , Algora.Projects.Project
You can’t perform that action at this time.
0 commit comments