Skip to content

Commit

Permalink
fix(prisma): change db.text annonation to db.Text (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
RodSarhan committed Aug 3, 2022
1 parent 3fefb0f commit e531b60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions template/addons/prisma/auth-schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ generator client {

datasource db {
provider = "sqlite"
// NOTE: When using postgresql, mysql or sqlserver, uncomment the @db.text annotations in model Account below
// NOTE: When using postgresql, 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
// https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#string
Expand All @@ -25,12 +25,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 e531b60

Please sign in to comment.