0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

chore: add boolean type for postgres (#163)

* chore: add boolean type for postgres

* chore: remove bool
This commit is contained in:
Wang Sijie 2022-01-07 12:09:38 +08:00 committed by GitHub
parent a66abbc251
commit 5b404e2b2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,7 @@ export const getType = (
case 'timestamp':
case 'timestamptz':
return 'number';
case 'bool':
case 'boolean': // https://www.postgresql.org/docs/14/datatype-boolean.html
return 'boolean';
case 'json':
case 'jsonb':