From fe7ac800d76986a5cdc4199a6a47e5b824f41f8e Mon Sep 17 00:00:00 2001 From: Cleo John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Thu, 24 Nov 2022 11:39:40 +0000 Subject: [PATCH] Add movedToUri and knownAs to DB model user --- packages/backend/src/models/entities/user.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/backend/src/models/entities/user.ts b/packages/backend/src/models/entities/user.ts index 9d79c42e6..1fa46037d 100644 --- a/packages/backend/src/models/entities/user.ts +++ b/packages/backend/src/models/entities/user.ts @@ -74,6 +74,12 @@ export class User { }) public movedToUri: string | null; + @Column('simple-array', { + nullable: true, + comment: 'URIs the user is known as too', + }) + public alsoKnownAs: string[] | null; + @Column('integer', { default: 0, comment: 'The count of notes.',