@a_team/prisma 1.0.13 → 1.0.14
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/prisma/schema/company.prisma +19 -14
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
type StructuredEnrichment {
|
|
2
|
-
name
|
|
3
|
-
countryCode
|
|
4
|
-
city
|
|
5
|
-
timezone
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
name String?
|
|
3
|
+
countryCode String?
|
|
4
|
+
city String?
|
|
5
|
+
timezone String?
|
|
6
|
+
industries String[] @db.ObjectId
|
|
7
|
+
companyStage String?
|
|
8
|
+
logoUrl String?
|
|
9
|
+
employeeRange String?
|
|
10
|
+
fundingRange String?
|
|
11
|
+
revenueRange String?
|
|
8
12
|
}
|
|
9
13
|
|
|
10
14
|
type CompanyEnrichment {
|
|
@@ -12,14 +16,15 @@ type CompanyEnrichment {
|
|
|
12
16
|
}
|
|
13
17
|
|
|
14
18
|
model Company {
|
|
15
|
-
id
|
|
16
|
-
accounts
|
|
17
|
-
name
|
|
18
|
-
url
|
|
19
|
-
enrichment
|
|
20
|
-
createdBy
|
|
21
|
-
createdAt
|
|
22
|
-
updatedAt
|
|
19
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
20
|
+
accounts Account[]
|
|
21
|
+
name String
|
|
22
|
+
url String
|
|
23
|
+
enrichment CompanyEnrichment
|
|
24
|
+
createdBy String? @db.ObjectId
|
|
25
|
+
createdAt DateTime? @db.Date
|
|
26
|
+
updatedAt DateTime? @db.Date
|
|
27
|
+
requiresDeepEnrichment Boolean?
|
|
23
28
|
|
|
24
29
|
@@index([name, createdAt], map: "name_1_createdAt_-1")
|
|
25
30
|
@@index([url], map: "url_1")
|