lang-database 9.0.2 → 9.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schema.prisma +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lang-database",
3
- "version": "9.0.2",
3
+ "version": "9.1.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/schema.prisma CHANGED
@@ -32,6 +32,7 @@ model UserCard {
32
32
  cardId String
33
33
  currentInterval Int?
34
34
  dueDate DateTime?
35
+ reverse Boolean @default(false)
35
36
  done Boolean @default(false)
36
37
 
37
38
  @@id([userId, cardId])
@@ -139,6 +140,7 @@ model UserAnswer {
139
140
  userId String
140
141
  card Card @relation(fields: [cardId], references: [id], onDelete: Cascade)
141
142
  cardId String
143
+ reverse Boolean @default(false)
142
144
  answer Answer
143
145
  timestamp DateTime
144
146
  @@map("userAnswers")