Add community description

This commit is contained in:
Aslan 2025-12-23 14:45:28 -05:00
parent c6d3e066c9
commit 9b0b5dc040
2 changed files with 8 additions and 5 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Community" ADD COLUMN "description" TEXT;

View file

@ -9,11 +9,12 @@ datasource db {
} }
model Community { model Community {
id String @id @unique @default(uuid()) id String @id @unique @default(uuid())
name String @unique name String @unique
members User[] description String?
Channel Channel[] members User[]
Role Role[] Channel Channel[]
Role Role[]
} }
model Channel { model Channel {