diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-29 00:03:58 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-29 00:03:58 +0200 |
commit | 766dcc24aa1f1de60cc15af699f933d521aa85b6 (patch) | |
tree | fa780a152b66f254039bfc26ca7b5cc9e987d3a0 /util/src/entities/ReadState.ts | |
parent | :sparkles: typeorm api rewrite done (diff) | |
download | server-766dcc24aa1f1de60cc15af699f933d521aa85b6.tar.xz |
:sparkles: update util
Diffstat (limited to 'util/src/entities/ReadState.ts')
-rw-r--r-- | util/src/entities/ReadState.ts | 2 |
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() |