mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-24 08:53:04 +10:00
migrate to prisma v7 (#345)
* migrate to prisma v7 * fix prisma type imports * update prisma version in docker * fix prisma cli breaking things
This commit is contained in:
@@ -4,7 +4,7 @@ import prisma from "../db/database";
|
||||
import type { SessionProvider, SessionWithToken } from "./types";
|
||||
import cacheHandler from "../cache";
|
||||
import type { SessionWhereInput, JsonFilter } from "~/prisma/client/models";
|
||||
import type { InputJsonValue } from "@prisma/client/runtime/library";
|
||||
import type { InputJsonValue } from "@prisma/client/runtime/client";
|
||||
|
||||
export default function createDBSessionHandler(): SessionProvider {
|
||||
const cache = cacheHandler.createCache<SessionWithToken>("DBSession");
|
||||
|
||||
Reference in New Issue
Block a user