refactor api and sdk

This commit is contained in:
Carl-Gerhard Lindesvärd
2023-10-12 12:16:33 +02:00
parent 5b9a01c665
commit 8a2417de5a
18 changed files with 298 additions and 292 deletions

View File

@@ -69,7 +69,7 @@ model Event {
model Profile {
id String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
external_id String
external_id String?
first_name String?
last_name String?
email String?
@@ -82,7 +82,6 @@ model Profile {
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
@@unique([project_id, external_id])
@@map("profiles")
}