mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
schema should be varchar not uuid, as data is just some strings
This commit is contained in:
parent
561f8f42dc
commit
35a76bc9b6
2 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue