diff --git a/src/models/Account.ts b/src/models/Account.ts index 9f025d7..49e83ee 100644 --- a/src/models/Account.ts +++ b/src/models/Account.ts @@ -10,6 +10,8 @@ export interface AccountInterface extends Document { locked: boolean, tier: number, supportKey: string, + referralCode: string, + totalReferrals: number, permissions: { staff: boolean, technician: boolean, @@ -33,6 +35,8 @@ const Account = new Schema({ locked: Boolean, tier: Number, supportKey: String, + referralCode: String, + totalReferrals: Number, permissions: { staff: Boolean, technician: Boolean,