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 }