summaryrefslogtreecommitdiff
path: root/packages/backend/src/models/UserProfile.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/backend/src/models/UserProfile.ts')
-rw-r--r--packages/backend/src/models/UserProfile.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/backend/src/models/UserProfile.ts b/packages/backend/src/models/UserProfile.ts
index 8a43b60039..6659a01412 100644
--- a/packages/backend/src/models/UserProfile.ts
+++ b/packages/backend/src/models/UserProfile.ts
@@ -29,6 +29,7 @@ export class MiUserProfile {
})
public location: string | null;
+ @Index()
@Column('char', {
length: 10, nullable: true,
comment: 'The birthday (YYYY-MM-DD) of the User.',