mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
Updates to user schema, account page
Renamed isAccountVerified to accountIsVerified, add account info to account page
This commit is contained in:
9
src/prisma/migrations/20230510010306_/migration.sql
Normal file
9
src/prisma/migrations/20230510010306_/migration.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `isAccountVerified` on the `User` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "User" DROP COLUMN "isAccountVerified",
|
||||
ADD COLUMN "accountIsVerified" BOOLEAN NOT NULL DEFAULT false;
|
||||
@@ -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[]
|
||||
|
||||
Reference in New Issue
Block a user