lang-database 1.9.0 → 2.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"
@@ -103,6 +103,11 @@ exports.Prisma.CardScalarFieldEnum = makeEnum({
103
103
  back: 'back'
104
104
  });
105
105
 
106
+ exports.Prisma.CategoryScalarFieldEnum = makeEnum({
107
+ id: 'id',
108
+ name: 'name'
109
+ });
110
+
106
111
  exports.Prisma.GoogleUserScalarFieldEnum = makeEnum({
107
112
  id: 'id',
108
113
  userId: 'userId'
@@ -112,7 +117,12 @@ exports.Prisma.PackScalarFieldEnum = makeEnum({
112
117
  id: 'id',
113
118
  teacherId: 'teacherId',
114
119
  name: 'name',
115
- currentPrice: 'currentPrice'
120
+ shortDescription: 'shortDescription',
121
+ longDescription: 'longDescription',
122
+ categoryId: 'categoryId',
123
+ published: 'published',
124
+ currentPrice: 'currentPrice',
125
+ public: 'public'
116
126
  });
117
127
 
118
128
  exports.Prisma.PurchaseScalarFieldEnum = makeEnum({
@@ -143,6 +153,13 @@ exports.Prisma.TeacherScalarFieldEnum = makeEnum({
143
153
  password: 'password'
144
154
  });
145
155
 
156
+ exports.Prisma.TeamScalarFieldEnum = makeEnum({
157
+ id: 'id',
158
+ name: 'name',
159
+ userCount: 'userCount',
160
+ subscriptionExpire: 'subscriptionExpire'
161
+ });
162
+
146
163
  exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
147
164
  ReadUncommitted: 'ReadUncommitted',
148
165
  ReadCommitted: 'ReadCommitted',
@@ -171,8 +188,10 @@ exports.PurchaseStatus = makeEnum({
171
188
  exports.Prisma.ModelName = makeEnum({
172
189
  Card: 'Card',
173
190
  UserCard: 'UserCard',
191
+ Category: 'Category',
174
192
  Pack: 'Pack',
175
193
  User: 'User',
194
+ Team: 'Team',
176
195
  Teacher: 'Teacher',
177
196
  GoogleUser: 'GoogleUser',
178
197
  Answer: 'Answer',