diff --git a/lib/db.js b/lib/db.js index 755696f4..12bfd6d3 100644 --- a/lib/db.js +++ b/lib/db.js @@ -1,6 +1,10 @@ import { PrismaClient } from '@prisma/client'; import chalk from 'chalk'; +BigInt.prototype.toJSON = function () { + return this.toString(); +}; + const options = { log: [ {