[openstreetmap/openstreetmap-website] User IDs have inconsistent types in the database (#2211)
notifications at github.com
Tue Apr 16 09:29:44 UTC 2019
@tomhughes: I ported it to MS-SQL, that's why, and it requires the foreign key to be of the same type.
Quite franky, I don't see why postgre doesn't require this, because if I have a user-id > int32.maxValue, there will be an error, because you can't insert a 64-bit number into a 32-bit number.
This seems to be more like an overlooked bug than a feature - courtesy of PostgreSQL.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev