We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86a74b3 commit 5d37470Copy full SHA for 5d37470
source/knexfile.ts
@@ -1,4 +1,10 @@
1
/* eslint @typescript-eslint/explicit-module-boundary-types: 0 */
2
+try {
3
+ const pg = require('pg');
4
+ pg.types.setTypeParser(20, 'text', parseInt);
5
+} catch (err) {
6
+ logger.info('There is no pg');
7
+}
8
import { config } from './config';
9
import { parse } from 'url';
10
import { Knex } from 'knex';
0 commit comments