lang-database 1.10.0 → 3.0.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.
@@ -0,0 +1,3 @@
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"
@@ -0,0 +1,3 @@
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"
@@ -0,0 +1,3 @@
1
+ # Production database
2
+
3
+ DATABASE_URL="postgresql://name:password@free-tierX.aws-eu-west-1.cockroachlabs.cloud:26257/dbname"
@@ -0,0 +1,3 @@
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"
@@ -121,7 +121,8 @@ exports.Prisma.PackScalarFieldEnum = makeEnum({
121
121
  longDescription: 'longDescription',
122
122
  categoryId: 'categoryId',
123
123
  published: 'published',
124
- currentPrice: 'currentPrice'
124
+ currentPrice: 'currentPrice',
125
+ public: 'public'
125
126
  });
126
127
 
127
128
  exports.Prisma.PurchaseScalarFieldEnum = makeEnum({
@@ -152,6 +153,14 @@ exports.Prisma.TeacherScalarFieldEnum = makeEnum({
152
153
  password: 'password'
153
154
  });
154
155
 
156
+ exports.Prisma.TeamScalarFieldEnum = makeEnum({
157
+ id: 'id',
158
+ name: 'name',
159
+ emailPattern: 'emailPattern',
160
+ userCount: 'userCount',
161
+ subscriptionExpire: 'subscriptionExpire'
162
+ });
163
+
155
164
  exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
156
165
  ReadUncommitted: 'ReadUncommitted',
157
166
  ReadCommitted: 'ReadCommitted',
@@ -170,7 +179,8 @@ exports.Prisma.UserCardScalarFieldEnum = makeEnum({
170
179
  exports.Prisma.UserScalarFieldEnum = makeEnum({
171
180
  id: 'id',
172
181
  email: 'email',
173
- name: 'name'
182
+ name: 'name',
183
+ teamId: 'teamId'
174
184
  });
175
185
  exports.PurchaseStatus = makeEnum({
176
186
  PENDING: 'PENDING',
@@ -183,6 +193,7 @@ exports.Prisma.ModelName = makeEnum({
183
193
  Category: 'Category',
184
194
  Pack: 'Pack',
185
195
  User: 'User',
196
+ Team: 'Team',
186
197
  Teacher: 'Teacher',
187
198
  GoogleUser: 'GoogleUser',
188
199
  Answer: 'Answer',