25 lines
745 B
TypeScript
25 lines
745 B
TypeScript
// 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',
|
|
// Legacy subscription tables are retained in the database but are no longer
|
|
// managed by Prisma Migrate. They must never be dropped (production may not
|
|
// own them and the data is kept for recovery).
|
|
experimental: {
|
|
externalTables: true
|
|
},
|
|
tables: {
|
|
external: ['public.SubscriptionLevel', 'public.ProclamationCategorySubscriptionLevel']
|
|
},
|
|
migrations: {
|
|
path: 'prisma/migrations',
|
|
seed: 'tsx prisma/seed.ts'
|
|
},
|
|
datasource: {
|
|
url: process.env['DATABASE_URL']
|
|
}
|
|
});
|