From b53237daca5cb2108890ee7df27628c70e6ee17a Mon Sep 17 00:00:00 2001 From: b1ek Date: Wed, 22 Feb 2023 15:39:09 +1000 Subject: [PATCH] return bigints as number --- models/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/index.js b/models/index.js index f9d4be5..b5f5eec 100644 --- a/models/index.js +++ b/models/index.js @@ -1,5 +1,7 @@ 'use strict'; +require('pg').defaults.parseInt8 = true + const fs = require('fs'); const path = require('path'); const Sequelize = require('sequelize');