schema should be varchar not uuid, as data is just some strings

This commit is contained in:
Gavin Mogan 2025-08-22 22:59:00 -07:00
parent 561f8f42dc
commit 35a76bc9b6
2 changed files with 2 additions and 3 deletions

View file

@ -271,7 +271,7 @@ model Revenue {
}
model OidcState {
state String @id() @unique() @db.Uuid
state String @id() @unique() @db.VarChar(255)
codeVerifier String @db.VarChar(255)
createdAt DateTime @default(now()) @map("created_at") @db.Timestamp(0)

View file

@ -271,11 +271,10 @@ model Revenue {
}
model OidcState {
state String @id() @unique() @db.Uuid
state String @id() @unique() @db.VarChar(255)
codeVerifier String @db.VarChar(255)
createdAt DateTime @default(now()) @map("created_at") @db.Timestamptz(6)
@@index([createdAt])
@@map("oidc_state")
}