mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-08 00:44:06 +00:00
Use pg-type numeric for bigint in entities and use custom decimal in graph-node (#71)
* Use pg-type numeric for bigint columns in typeorm entities * Use custom decimal implementation from util in graph-node
This commit is contained in:
@@ -25,7 +25,7 @@ _tsToGql.set('boolean', 'Boolean');
|
||||
// Typescript to Postgres type-mapping.
|
||||
_tsToPg.set('string', 'varchar');
|
||||
_tsToPg.set('number', 'integer');
|
||||
_tsToPg.set('bigint', 'bigint');
|
||||
_tsToPg.set('bigint', 'numeric');
|
||||
_tsToPg.set('boolean', 'boolean');
|
||||
|
||||
// Graphql to Typescript type-mapping.
|
||||
|
||||
Reference in New Issue
Block a user