Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- DropTable
DROP TABLE "public"."Authenticator";
15 changes: 0 additions & 15 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ model User {
sessions Session[]
operations Operation[]
groups UserGroup[] // User's group memberships
authenticators Authenticator[]
}

model VerificationToken {
Expand All @@ -67,20 +66,6 @@ model VerificationToken {
@@unique([identifier, token])
}

model Authenticator {
id String @id @default(cuid())
credentialID String @unique
userId String
providerAccountId String
credentialPublicKey String
counter Int
credentialDeviceType String
credentialBackedUp Boolean
transports String?

user User @relation(fields: [userId], references: [id], onDelete: Cascade)
}

// MITRE ATT&CK Framework Models
model MitreTactic {
id String @id // e.g., "TA0001"
Expand Down
Loading