Ruby on Rails workaround for the mySQL max int: 2147483647? -


I'm trying to use this number:

  294670251400  

This number will be a feature in a model that keeps the counter tab on the membership card. There are three four digit proud sets in the membership papers.

But when I update_attribute to include it, the maximum number of mySQL reset is reset:

  2147483647  
< P> Does anyone have an alternative solution on this?

In your stay, an integer like you:

  t.integer : Actually_big_member ,: border => gt; 8  

Here's a useful one about it.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -