lang-database 9.0.0 → 9.0.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lang-database",
3
- "version": "9.0.0",
3
+ "version": "9.0.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/schema.prisma CHANGED
@@ -75,7 +75,7 @@ model User {
75
75
  purchases Purchase[]
76
76
  packs Pack[]
77
77
  userCards UserCard[]
78
- answers UserAnswer[]
78
+ userAnswers UserAnswer[]
79
79
  subscriptionExpire DateTime?
80
80
  team Team? @relation(fields: [teamId], references: [id])
81
81
  teamId String?
@@ -141,7 +141,7 @@ model UserAnswer {
141
141
  cardId String
142
142
  answer Answer
143
143
  timestamp DateTime
144
- @@map("answers")
144
+ @@map("userAnswers")
145
145
  }
146
146
 
147
147
  enum Answer {
package/.env-dev.example DELETED
@@ -1,3 +0,0 @@
1
- # Dev database: common remote database for development purposes
2
-
3
- DATABASE_URL="postgresql://name:password@free-tierX.aws-eu-west-1.cockroachlabs.cloud:26257/dbname"
@@ -1,3 +0,0 @@
1
- # Developer's own app database. Could be either remote or local
2
-
3
- DATABASE_URL="postgresql://name:password@free-tierX.aws-eu-west-1.cockroachlabs.cloud:26257/dbname"
package/.env-prod.example DELETED
@@ -1,3 +0,0 @@
1
- # Production database
2
-
3
- DATABASE_URL="postgresql://name:password@free-tierX.aws-eu-west-1.cockroachlabs.cloud:26257/dbname"
package/.env-test.example DELETED
@@ -1,3 +0,0 @@
1
- # Developer's own test database. Could be either remote or local
2
-
3
- DATABASE_URL="postgresql://name:password@free-tierX.aws-eu-west-1.cockroachlabs.cloud:26257/dbname"