Add community description
This commit is contained in:
parent
c6d3e066c9
commit
9b0b5dc040
2 changed files with 8 additions and 5 deletions
|
|
@ -0,0 +1,2 @@
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "Community" ADD COLUMN "description" TEXT;
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue