Skip to content

Commit

Permalink
chore: release 4.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paustint committed Oct 16, 2024
1 parent 7c17705 commit 5124970
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "https://github.com/jetstreamapp/jetstream"
},
"author": "Jetstream",
"version": "4.14.0",
"version": "4.15.0",
"license": "GNU Lesser General Public License v3.0",
"engines": {
"node": ">=20 <22",
Expand Down
27 changes: 15 additions & 12 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ datasource db {
}

model User {
id String @id @default(dbgenerated("uuid_generate_v4()")) @db.Uuid
userId String @unique @db.VarChar
email String @db.VarChar
name String? @db.VarChar
nickname String? @db.VarChar
picture String? @db.VarChar
appMetadata Json? @db.Json
preferences UserPreference?
organizations JetstreamOrganization[]
deletedAt DateTime?
createdAt DateTime @default(now()) @db.Timestamp(6)
updatedAt DateTime @updatedAt
id String @id @default(dbgenerated("uuid_generate_v4()")) @db.Uuid
userId String @unique @db.VarChar
email String @db.VarChar
name String? @db.VarChar
nickname String? @db.VarChar
picture String? @db.VarChar
appMetadata Json? @db.Json
preferences UserPreference?
salesforceOrgs SalesforceOrg[]
organizations JetstreamOrganization[]
deletedAt DateTime?
createdAt DateTime @default(now()) @db.Timestamp(6)
updatedAt DateTime @updatedAt
}

model UserPreference {
Expand Down Expand Up @@ -63,6 +64,8 @@ model SalesforceApi {
model SalesforceOrg {
id Int @id @default(autoincrement())
jetstreamUserId String @db.VarChar
jetstreamUser User? @relation(fields: [jetstreamUserId2], references: [id], onDelete: Cascade)
jetstreamUserId2 String? @db.Uuid
jetstreamOrganization JetstreamOrganization? @relation(fields: [jetstreamOrganizationId], references: [id])
jetstreamOrganizationId String? @db.Uuid
uniqueId String @db.VarChar
Expand Down

0 comments on commit 5124970

Please sign in to comment.