fix: parse JSONB

This commit is contained in:
Marc 2023-04-05 18:57:43 +02:00
parent de4a0e3e31
commit 74799c27b4

View File

@ -22,12 +22,6 @@ class PostgresDialect extends Dialect {
'text',
(v) => v
);
// Don't parse JSONB automatically
this.db.connection.client.driver.types.setTypeParser(
this.db.connection.client.driver.types.builtins.JSONB,
'text',
(v) => v
);
this.db.connection.client.driver.types.setTypeParser(
this.db.connection.client.driver.types.builtins.NUMERIC,
'text',