feat: Add prisma migrations and config

This commit is contained in:
AyrisAI
2026-04-02 04:26:32 +03:00
parent aba1ae39b2
commit a89f9f1720
6 changed files with 325 additions and 13 deletions

View File

@@ -1,14 +1,8 @@
// 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";
import { defineConfig } from '@prisma/config'
export default defineConfig({
schema: "prisma/schema.prisma",
migrations: {
path: "prisma/migrations",
},
datasource: {
url: process.env["DATABASE_URL"],
},
});
adapter: 'postgresql',
url: "postgres://postgres:fsI47H3bbfpNCQD8GiCre2T97OOY8BwUJ02hUYzZfehYhutUJPO14BZgYsh0z3sG@65.109.236.58:3945/postgres"
}
})