Merge remote-tracking branch 'origin/develop' into more-fixes

This commit is contained in:
Huskydog9988
2025-05-15 13:38:46 -04:00
22 changed files with 331 additions and 161 deletions

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Notification" ADD COLUMN "acls" TEXT[];

View File

@@ -16,17 +16,6 @@ model Client {
platform Platform
lastConnected DateTime
peerAPI ClientPeerAPIConfiguration?
lastAccessedSaves SaveSlot[]
tokens APIToken[]
}
model ClientPeerAPIConfiguration {
id String @id @default(uuid())
clientId String @unique
client Client @relation(fields: [clientId], references: [id])
endpoints String[]
}
}

View File

@@ -27,7 +27,8 @@ model Notification {
nonce String?
userId String
user User @relation(fields: [userId], references: [id])
user User @relation(fields: [userId], references: [id])
acls String[]
created DateTime @default(now())
title String