mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
Update page auth HOF type definitions
Added vercel config, update packages
This commit is contained in:
@@ -5,13 +5,6 @@ generator client {
|
||||
provider = "prisma-client-js"
|
||||
}
|
||||
|
||||
generator erdSVG {
|
||||
provider = "prisma-erd-generator"
|
||||
output = "./ERD.svg"
|
||||
includeRelationFromFields = true
|
||||
theme = "neutral"
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
|
||||
@@ -32,7 +32,7 @@ const createNewBeerPosts = async ({
|
||||
abv: Math.floor(Math.random() * (12 - 4) + 4),
|
||||
ibu: Math.floor(Math.random() * (60 - 10) + 10),
|
||||
name: faker.commerce.productName(),
|
||||
description: faker.lorem.lines(24),
|
||||
description: faker.lorem.lines(42).replace(/(\r\n|\n|\r)/gm, ' '),
|
||||
brewery: { connect: { id: breweryPost.id } },
|
||||
postedBy: { connect: { id: user.id } },
|
||||
type: { connect: { id: beerType.id } },
|
||||
|
||||
Reference in New Issue
Block a user