Clean imports, add suggestions and recommendations
This commit is contained in:
@@ -30,6 +30,7 @@ enum ContainerType {
|
||||
PlasticBottle
|
||||
Can
|
||||
Carton
|
||||
Keg
|
||||
}
|
||||
|
||||
model Drink {
|
||||
@@ -220,4 +221,13 @@ model Session {
|
||||
|
||||
@@allow('all', auth().id == user.id)
|
||||
@@allow('all', auth().type == Admin)
|
||||
}
|
||||
|
||||
model Suggestion {
|
||||
id Int @id @default(autoincrement())
|
||||
createdAt DateTime @default(now())
|
||||
name String?
|
||||
content String
|
||||
|
||||
@@allow('all', true)
|
||||
}
|
||||
Reference in New Issue
Block a user