I get the message PGError: ERROR: integer out of range from trying to insert the following integer: 100001389928198.
PGError: ERROR: integer out of range
According to the Postgres docs on numerical data types, the limit is much higher (9223372036854775807). I feel like Heroku treats the column as a regular integer, not a BIGINT.
I defined migration as BIGINT as such:
t.column :uid, :bigint
Is this incorrect in terms of Heroku migrations?
I'm not sure if t.column matches change_column or not, but here's how according to api
t.column
change_column
change_column :table_name, :uid, :bigint
Source: https://habr.com/ru/post/895893/More articles:Real-time client in real time for delphi application. AS? - delphiHow can I get adjacent combination pairs using R? - rTHttpApiServer - Sample - webserverJava: Spring security 3 Role hierarchy - spring-securityWhat is the best free IDE for building MIPS? - assemblyUsing define_method inside a module that is part of a class? - ruby โโ| fooobar.comDynamically creating classes in python and __repr__ - pythonacceleration of products numro kronecker - pythonjquery load () doesn't work at all in IE8 - jqueryWhich HTML element is most suitable for code annotation? - htmlAll Articles