Suyash sahu
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
4 additions and
1 deletions
-
.config/prisma.ts
-
prisma/schema.prisma
|
|
|
@ -6,6 +6,10 @@ import { join } from 'node:path'; |
|
|
|
expand(config({ quiet: true })); |
|
|
|
|
|
|
|
export default defineConfig({ |
|
|
|
datasource: { |
|
|
|
provider: 'postgresql', |
|
|
|
url: process.env.DATABASE_URL |
|
|
|
}, |
|
|
|
migrations: { |
|
|
|
path: join(__dirname, '..', 'prisma', 'migrations'), |
|
|
|
seed: `node ${join(__dirname, '..', 'prisma', 'seed.mts')}` |
|
|
|
|
|
|
|
@ -6,7 +6,6 @@ generator client { |
|
|
|
|
|
|
|
datasource db { |
|
|
|
provider = "postgresql" |
|
|
|
url = env("DATABASE_URL") |
|
|
|
} |
|
|
|
|
|
|
|
model Access { |
|
|
|
|