summary refs log tree commit diff
path: root/src/util/entities/Member.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-31 17:25:28 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-31 17:51:57 +1100
commit7a725bab50aa09253e9f369755ba531092e5d407 (patch)
tree7cb6e2ecdf0703c06d25ddbdad3cbf437da6efc4 /src/util/entities/Member.ts
parentMerge branch 'maddy/refactor' into maddy/bodyParserPatch (diff)
downloadserver-7a725bab50aa09253e9f369755ba531092e5d407.tar.xz
Profile themes and pronouns
Diffstat (limited to 'src/util/entities/Member.ts')
-rw-r--r--src/util/entities/Member.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/entities/Member.ts b/src/util/entities/Member.ts
index bffec326..eeae181e 100644
--- a/src/util/entities/Member.ts
+++ b/src/util/entities/Member.ts
@@ -125,6 +125,12 @@ export class Member extends BaseClassWithoutId {
 
 	@Column()
 	bio: string;
+	
+	@Column({ nullable: true, type: "simple-array" })
+	theme_colors?: number[];	// TODO: Separate `User` and `UserProfile` models
+
+	@Column({ nullable: true })
+	pronouns?: string;
 
 	@Column({ nullable: true })
 	communication_disabled_until: Date;