diff --git a/prisma/schema.prisma b/prisma/schema.prisma index f39c37a..8d77d2b 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -6,12 +6,13 @@ generator client { } datasource db { - provider = "sqlite" + provider = "mysql" // 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 url = env("DATABASE_URL") + relationMode = "prisma" } model Video { @@ -29,12 +30,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)