sdepold/sequelize — pull request #367 by adamsch1 (2012-12-12 16:57:39+00:00)
Title: BIGINT support

BIGINT support -

BIGINT in postgres and mysql is 8 bytes.

Javascript stores numbers as a double, which does not have enough precision to represent an 8 byte integer value.

If you cast to/from a string you can store a large number successfully with patch.

Not sure if this is the right way to go but I'm not doing math on these values, they are merely what I am receiving from a REST API (mailchimp) and I hated the idea of storing a 20 digit number as a VARCHAR when I'm only using it as an ID