From 91fa37f82d727dc8730d06d072f55e6209bc63bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20H=C3=BCttemann?= Date: Mon, 12 Jun 2023 14:54:24 +0200 Subject: [PATCH] Make accessTokens nullable in storage --- src/entity/IdMapping.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/IdMapping.ts b/src/entity/IdMapping.ts index f2c00d4..7a3bdc4 100644 --- a/src/entity/IdMapping.ts +++ b/src/entity/IdMapping.ts @@ -11,6 +11,6 @@ export class IdMapping { @Column('integer') type!: number // Type of the entity; 0 = user, 1 = room, 2 = message - @Column() + @Column({ nullable: true }) accessToken?: string // Access token for matrix users }