Provide backend for admin and user apps with Postgres, migrations, seed data, and docker-compose for LiteSpeed reverse-proxy deployment. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
345 B
TypeScript
15 lines
345 B
TypeScript
import "dotenv/config";
|
|
import { defineConfig, env } from "prisma/config";
|
|
|
|
export default defineConfig({
|
|
schema: "prisma/schema.prisma",
|
|
migrations: {
|
|
path: "prisma/migrations",
|
|
seed: 'ts-node --compiler-options {"module":"CommonJS"} prisma/seed.ts',
|
|
},
|
|
engine: "classic",
|
|
datasource: {
|
|
url: env("DATABASE_URL"),
|
|
},
|
|
});
|