Prisma generation.
This commit is contained in:
1 parent
c969603001
commit
6a29f2ef6f
3 files changed
+3
-5
No files matched your search
@@ -1,8 +1,7 @@
|
||||
generator client {
|
||||
provider = "prisma-client"
|
||||
provider = "prisma-client-js"
|
||||
output = "../src/generated/prisma"
|
||||
binaryTargets = ["native"]
|
||||
moduleFormat = "esm"
|
||||
}
|
||||
|
||||
datasource db {
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
generator client {
|
||||
provider = "prisma-client"
|
||||
provider = "prisma-client-js"
|
||||
output = "../src/generated/prisma"
|
||||
binaryTargets = ["native"]
|
||||
moduleFormat = "esm"
|
||||
}
|
||||
|
||||
datasource db {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* eslint-disable no-console */
|
||||
import 'dotenv/config';
|
||||
|
||||
import { PrismaClient } from '../src/generated/prisma/client';
|
||||
import { PrismaClient } from '../src/generated/prisma/index.js';
|
||||
import chalk from 'chalk';
|
||||
import { execSync } from 'child_process';
|
||||
import semver from 'semver';
|
||||
|
||||
Reference in new issue
Block a user