mirror of
https://github.com/strapi/strapi.git
synced 2025-12-30 00:37:24 +00:00
fix: parse JSONB
This commit is contained in:
parent
de4a0e3e31
commit
74799c27b4
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user