New endpoints; New tests; Version 0.3.0

This commit is contained in:
Aslan 2025-12-28 04:29:42 +01:00
parent 4bc3be87b4
commit 1f3a94cf38
27 changed files with 551 additions and 72 deletions

View file

@ -22,11 +22,11 @@ model Community {
}
model Channel {
id String @id @unique @default(uuid())
id String @id @unique @default(uuid())
name String
community Community? @relation(fields: [communityId], references: [id])
communityId String?
creationDate DateTime @default(now())
community Community @relation(fields: [communityId], references: [id])
communityId String
creationDate DateTime @default(now())
}
model Role {