Skip to content

Commit

Permalink
add vercel json and change to mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
JClackett committed Apr 13, 2023
1 parent 447bca9 commit 8de3048
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/database/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ generator client {
}

datasource db {
provider = "postgresql"
provider = "mysql"
url = env("DATABASE_URL")
}

Expand All @@ -14,14 +14,14 @@ enum Role {
}

model User {
id String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
id String @id @default(uuid())
email String @unique
password String
firstName String
lastName String
role Role @default(USER)
avatar String?
createdAt DateTime @default(now()) @db.Timestamptz(6)
updatedAt DateTime @default(now()) @updatedAt @db.Timestamptz(6)
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
}
5 changes: 5 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"github": { "silent": true },
"installCommand": "pnpm --filter !app install"
}

0 comments on commit 8de3048

Please sign in to comment.