1
0

add type columns to SkLatestNote

This commit is contained in:
Hazel K
2024-10-08 17:02:31 -04:00
committed by Hazelnoot
parent fea993f6b2
commit 9d3292e6e9
2 changed files with 42 additions and 0 deletions
+18
View File
@@ -21,6 +21,24 @@ export class SkLatestNote {
})
public userId: string;
@PrimaryColumn('boolean', {
name: 'is_public',
default: false,
})
public isPublic: boolean;
@PrimaryColumn('boolean', {
name: 'is_reply',
default: false,
})
public isReply: boolean;
@PrimaryColumn('boolean', {
name: 'is_quote',
default: false,
})
public isQuote: boolean;
@ManyToOne(() => MiUser, {
onDelete: 'CASCADE',
})