fix: make pinned_at column nullable (for real this time)

This commit is contained in:
CyberL1 2025-09-29 19:35:06 +02:00 committed by Rory&
parent 76db78570f
commit 9c7668c5fa

View File

@ -185,8 +185,8 @@ export class Message extends BaseClass {
@Column({ type: "text", nullable: true })
nonce?: string;
@Column({ nullable: true })
@CreateDateColumn()
@Column()
@CreateDateColumn({ nullable: true })
pinned_at: Date | null;
get pinned(): boolean {