-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bigint support #1976
Comments
This is the standard behavior, for all 64-bit integers to be presented as strings. See this explanation. |
Closing as dupe of brianc/node-pg-types#78 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using postgres 10 version, typeorm version 6.1.3 and pg version 7.11.0
I am facing issue with the bigint datatype. My entity looks like this.
Now when I convert team_id datatype to bigint it gives me error saying
Data type "BigInt" in "Users.team_id" is not supported by "postgres" database
Postgres supports bigint and now javascript also supports bigint datatype.
How do I use bigint here in the entity. Current behaviour is that it converts bigint to string and wherever in the database I am using team_id, it goes as string only.
Is there possible solution or alterations that I can do to fix this.
The text was updated successfully, but these errors were encountered: