add prisma

This commit is contained in:
Matteo Rosati
2026-01-25 10:03:51 +01:00
parent 73b3407f04
commit 0e1aed27db
8 changed files with 237 additions and 2 deletions

14
prisma.config.ts Normal file
View File

@@ -0,0 +1,14 @@
// This file was generated by Prisma, and assumes you have installed the following:
// npm install --save-dev prisma dotenv
import "dotenv/config";
import { defineConfig } from "prisma/config";
export default defineConfig({
schema: "prisma/schema.prisma",
migrations: {
path: "prisma/migrations",
},
datasource: {
url: process.env["DATABASE_URL"],
},
});