summary refs log tree commit diff
path: root/util/src/entities/ReadState.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util/src/entities/ReadState.ts')
-rw-r--r--util/src/entities/ReadState.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/entities/ReadState.ts b/util/src/entities/ReadState.ts
index 70a38b84..650ee4c3 100644
--- a/util/src/entities/ReadState.ts
+++ b/util/src/entities/ReadState.ts
@@ -31,7 +31,7 @@ export class ReadState extends BaseClass {
 	@ManyToOne(() => Message, (message: Message) => message.id)
 	last_message?: Message;
 
-	@Column()
+	@Column({ nullable: true })
 	last_pin_timestamp?: Date;
 
 	@Column()