fix: use createDateColumn()
This commit is contained in:
parent
3e93ad8a87
commit
c218a28213
@ -185,7 +185,8 @@ export class Message extends BaseClass {
|
||||
@Column({ type: "text", nullable: true })
|
||||
nonce?: string;
|
||||
|
||||
@Column({ type: "timestamp", nullable: true })
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
pinned_at: Date | null;
|
||||
|
||||
get pinned(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user