Add create beer, beer post page

This commit is contained in:
Aaron William Po
2023-01-24 21:03:31 -05:00
parent 972846f5a8
commit d0bced1376
12 changed files with 264 additions and 40 deletions

View File

@@ -11,7 +11,7 @@ datasource db {
}
model User {
id String @id @default(cuid())
id String @id @default(uuid())
username String
firstName String
lastName String
@@ -56,7 +56,7 @@ model BeerComment {
}
model BeerType {
id String @id @default(cuid())
id String @id @default(uuid())
name String
createdAt DateTime @default(now()) @db.Timestamptz(3)
updatedAt DateTime? @updatedAt @db.Timestamptz(3)
@@ -66,7 +66,7 @@ model BeerType {
}
model BreweryPost {
id String @id @default(cuid())
id String @id @default(uuid())
name String
location String
beers BeerPost[]