lang-database 9.0.1 → 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.
- package/package.json +1 -1
- package/schema.prisma +3 -1
- package/.env-dev.example +0 -3
- package/.env-local.example +0 -3
- package/.env-prod.example +0 -3
- package/.env-test.example +0 -3
package/package.json
CHANGED
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])
|
|
@@ -75,7 +76,7 @@ model User {
|
|
|
75
76
|
purchases Purchase[]
|
|
76
77
|
packs Pack[]
|
|
77
78
|
userCards UserCard[]
|
|
78
|
-
|
|
79
|
+
userAnswers UserAnswer[]
|
|
79
80
|
subscriptionExpire DateTime?
|
|
80
81
|
team Team? @relation(fields: [teamId], references: [id])
|
|
81
82
|
teamId String?
|
|
@@ -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")
|
package/.env-dev.example
DELETED
package/.env-local.example
DELETED
package/.env-prod.example
DELETED
package/.env-test.example
DELETED