er/prisma/schema.prisma
Louis Hollingworth e8f797d1e0
(#2) Booster roles can now be linked to members.
Next steps:
 * Remove booster roles from the DB and Guild when someone stops
   boosting
 * Add booster roles to the DB and Guild when someone starts boosting

Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
2023-06-18 12:34:31 +01:00

21 lines
359 B
Plaintext

generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model guild {
id String @id @unique
name String
reports_channel_id String?
}
model member {
id String @id @unique
name String
booster_role_id String @unique
}