In my schema.prisma file I have made some chenges as per the Shopify and prisma documentation
datasource db {
provider = “mongodb”
url = env(“DATABASE_URL”)
}
generator client {
provider = “prisma-client-js”
}
model Session {
id String @id @default(auto()) @map(“_id”) @db.ObjectId
shop String
state String
isOnline Boolean @default(false)
scope String?
expires DateTime?
accessToken String
userId Int?
}
I entered the DATABASE_URL also as per the documentation but still I’m not able to migrate to MongoDB