mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 17:32:30 +00:00
fix: use createDateColumn()
This commit is contained in:
1 parent
3e93ad8a87
commit
c218a28213
1 file changed
+2
-1
@@ -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