Added username filter, word replacement filter and voice selection
This commit is contained in:
@ -14,6 +14,8 @@ model User {
|
||||
email String? @unique
|
||||
emailVerified DateTime?
|
||||
image String?
|
||||
ttsDefaultVoice Int @default(1)
|
||||
ttsEnabledVoice Int @default(1048575)
|
||||
|
||||
apiKeys ApiKey[]
|
||||
accounts Account[]
|
||||
@ -77,12 +79,13 @@ model TtsUsernameFilter {
|
||||
}
|
||||
|
||||
model TtsWordFilter {
|
||||
id String @id @default(cuid())
|
||||
search String
|
||||
replace String
|
||||
|
||||
userId String
|
||||
profile User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@index([userId])
|
||||
@@id([userId, search])
|
||||
@@unique([userId, search])
|
||||
}
|
Reference in New Issue
Block a user