Upgrade Prisma to v7
This commit is contained in:
parent
54343f61d5
commit
307a291c71
54 changed files with 34750 additions and 243 deletions
|
|
@ -1,10 +1,10 @@
|
|||
import "dotenv/config"
|
||||
import pkg from "@prisma/client"
|
||||
import { hashPassword } from "better-auth/crypto"
|
||||
import { ConvexHttpClient } from "convex/browser"
|
||||
|
||||
const { PrismaClient } = pkg
|
||||
const prisma = new PrismaClient()
|
||||
import { createPrismaClient } from "./utils/prisma-client.mjs"
|
||||
|
||||
const prisma = createPrismaClient()
|
||||
|
||||
const USERS = [
|
||||
{ name: "Administrador", email: "admin@sistema.dev", role: "admin" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue