@@ -72,7 +72,7 @@ model member {
72
72
73
73
model memberAddress {
74
74
id BigInt @id @default (autoincrement () )
75
- userId BigInt
75
+ userId BigInt
76
76
streetAddr1 String ?
77
77
streetAddr2 String ?
78
78
city String ?
@@ -94,8 +94,8 @@ model memberMaxRating {
94
94
id BigInt @id @default (autoincrement () )
95
95
userId BigInt
96
96
rating Int
97
- track String
98
- subTrack String
97
+ track String ?
98
+ subTrack String ?
99
99
ratingColor String
100
100
101
101
createdAt DateTime @default (now () )
@@ -156,7 +156,7 @@ model distributionStats {
156
156
ratingRange3700To3799 Int
157
157
ratingRange3800To3899 Int
158
158
ratingRange3900To3999 Int
159
-
159
+
160
160
161
161
createdAt DateTime @default (now () )
162
162
createdBy String
@@ -216,7 +216,7 @@ model memberDevelopHistoryStats {
216
216
createdBy String
217
217
updatedAt DateTime ? @updatedAt
218
218
updatedBy String ?
219
-
219
+
220
220
@@index ([historyStatsId ] )
221
221
}
222
222
@@ -231,25 +231,24 @@ model memberDataScienceHistoryStats {
231
231
placement Int
232
232
percentile Float
233
233
subTrack String
234
- subTrackId Int
235
234
236
235
historyStats memberHistoryStats @relation (fields : [historyStatsId ] , references : [id ] , onDelete : Cascade )
237
236
238
237
createdAt DateTime @default (now () )
239
238
createdBy String
240
239
updatedAt DateTime ? @updatedAt
241
240
updatedBy String ?
242
-
241
+
243
242
@@index ([historyStatsId ] )
244
243
}
245
244
246
245
model memberStats {
247
246
id BigInt @id @default (autoincrement () )
248
247
userId BigInt
249
-
248
+
250
249
memberRatingId BigInt ?
251
250
maxRating memberMaxRating ? @relation (fields : [memberRatingId ] , references : [id ] , onDelete : NoAction )
252
-
251
+
253
252
challenges Int ?
254
253
wins Int ?
255
254
develop memberDevelopStats ?
@@ -367,7 +366,7 @@ model memberDevelopStatsItem {
367
366
368
367
model memberDesignStats {
369
368
id BigInt @id @default (autoincrement () )
370
- memberStatsId BigInt
369
+ memberStatsId BigInt
371
370
challenges BigInt ?
372
371
wins BigInt ?
373
372
mostRecentSubmission DateTime ?
@@ -441,7 +440,7 @@ model memberDataScienceStats {
441
440
442
441
model memberSrmStats {
443
442
id BigInt @id @default (autoincrement () )
444
- dataScienceStatsId BigInt
443
+ dataScienceStatsId BigInt
445
444
446
445
challenges BigInt ?
447
446
wins BigInt ?
@@ -591,7 +590,7 @@ enum DeviceType {
591
590
model memberTraitDevice {
592
591
id BigInt @id @default (autoincrement () )
593
592
594
- memberTraitId BigInt
593
+ memberTraitId BigInt
595
594
596
595
deviceType DeviceType
597
596
manufacturer String
@@ -619,7 +618,7 @@ enum SoftwareType {
619
618
model memberTraitSoftware {
620
619
id BigInt @id @default (autoincrement () )
621
620
622
- memberTraitId BigInt
621
+ memberTraitId BigInt
623
622
624
623
softwareType SoftwareType
625
624
name String
@@ -645,7 +644,7 @@ enum ServiceProviderType {
645
644
model memberTraitServiceProvider {
646
645
id BigInt @id @default (autoincrement () )
647
646
648
- memberTraitId BigInt
647
+ memberTraitId BigInt
649
648
650
649
type ServiceProviderType
651
650
name String
@@ -676,7 +675,7 @@ enum WorkIndustryType {
676
675
model memberTraitWork {
677
676
id BigInt @id @default (autoincrement () )
678
677
679
- memberTraitId BigInt
678
+ memberTraitId BigInt
680
679
681
680
industry WorkIndustryType ?
682
681
companyName String
@@ -698,7 +697,7 @@ model memberTraitWork {
698
697
model memberTraitEducation {
699
698
id BigInt @id @default (autoincrement () )
700
699
701
- memberTraitId BigInt
700
+ memberTraitId BigInt
702
701
703
702
collegeName String
704
703
degree String
@@ -717,7 +716,7 @@ model memberTraitEducation {
717
716
model memberTraitBasicInfo {
718
717
id BigInt @id @default (autoincrement () )
719
718
720
- memberTraitId BigInt
719
+ memberTraitId BigInt
721
720
722
721
userId BigInt
723
722
country String
@@ -743,7 +742,7 @@ model memberTraitBasicInfo {
743
742
model memberTraitLanguage {
744
743
id BigInt @id @default (autoincrement () )
745
744
746
- memberTraitId BigInt
745
+ memberTraitId BigInt
747
746
748
747
language String
749
748
spokenLevel String ?
@@ -763,7 +762,7 @@ model memberTraitLanguage {
763
762
model memberTraitOnboardChecklist {
764
763
id BigInt @id @default (autoincrement () )
765
764
766
- memberTraitId BigInt
765
+ memberTraitId BigInt
767
766
768
767
listItemType String // Like 'profile_completed'
769
768
date DateTime
@@ -784,7 +783,7 @@ model memberTraitOnboardChecklist {
784
783
model memberTraitPersonalization {
785
784
id BigInt @id @default (autoincrement () )
786
785
787
- memberTraitId BigInt
786
+ memberTraitId BigInt
788
787
789
788
key String ?
790
789
value Json ?
@@ -802,7 +801,7 @@ model memberTraitPersonalization {
802
801
model memberTraitCommunity {
803
802
id BigInt @id @default (autoincrement () )
804
803
805
- memberTraitId BigInt
804
+ memberTraitId BigInt
806
805
807
806
communityName String
808
807
status Boolean
0 commit comments