Skip to content

Commit

Permalink
switch to mysql in prisma schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ettorepuccetti committed Jan 6, 2024
1 parent 383a2e8 commit 31f9537
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ generator client {
}

datasource db {
provider = "sqlite"
provider = "mysql"
// NOTE: When using mysql or sqlserver, uncomment the @db.Text annotations in model Account below
// Further reading:
// https://next-auth.js.org/adapters/prisma#create-the-prisma-schema
Expand All @@ -33,12 +33,12 @@ model Account {
type String
provider String
providerAccountId String
refresh_token String? // @db.Text
access_token String? // @db.Text
refresh_token String? @db.Text
access_token String? @db.Text
expires_at Int?
token_type String?
scope String?
id_token String? // @db.Text
id_token String? @db.Text
session_state String?
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
Expand Down

0 comments on commit 31f9537

Please sign in to comment.