Added handling for BigInt values.
parent
5e0c5643c6
commit
a1d0235416
|
@ -1,6 +1,10 @@
|
||||||
import { PrismaClient } from '@prisma/client';
|
import { PrismaClient } from '@prisma/client';
|
||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
|
|
||||||
|
BigInt.prototype.toJSON = function () {
|
||||||
|
return this.toString();
|
||||||
|
};
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
log: [
|
log: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue