Basic services; Version 0.2.0

This commit is contained in:
Aslan 2025-12-27 01:51:42 +01:00
parent cae53fab61
commit 72d7b22891
11 changed files with 483 additions and 11 deletions

View file

@ -23,7 +23,7 @@ model Community {
model Channel {
id String @id @unique @default(uuid())
name String?
name String
community Community? @relation(fields: [communityId], references: [id])
communityId String?
creationDate DateTime @default(now())
@ -31,7 +31,7 @@ model Channel {
model Role {
id String @id @unique @default(uuid())
name String?
name String
community Community @relation(fields: [communityId], references: [id])
communityId String
users User[] @relation(name: "UsersRolesToUsers")