This commit is contained in:
2026-06-25 18:40:57 -07:00
parent 5585d497c9
commit ba9e888955
7 changed files with 25 additions and 22 deletions
+2 -5
View File
@@ -35,16 +35,13 @@ export class Flashcard extends BaseModel<
@NotNull
declare creatorId: number
@Attribute(DataTypes.STRING(255))
@NotNull
declare cardType: string
@Attribute(DataTypes.TEXT)
@NotNull
declare front: string
@Attribute(DataTypes.TEXT)
declare back: string | null
@NotNull
declare back: string
@Attribute(DataTypes.DATE(0))
@NotNull