Updates to user schema, account page

Renamed isAccountVerified to accountIsVerified, add account info to account page
This commit is contained in:
Aaron William Po
2023-05-11 22:20:51 -04:00
parent 55afcdec70
commit 2eb2626d54
8 changed files with 160 additions and 22 deletions

View File

@@ -21,7 +21,7 @@ model User {
email String @unique
createdAt DateTime @default(now()) @db.Timestamptz(3)
updatedAt DateTime? @updatedAt @db.Timestamptz(3)
isAccountVerified Boolean @default(false)
accountIsVerified Boolean @default(false)
dateOfBirth DateTime
beerPosts BeerPost[]
beerTypes BeerType[]