fzaninotto/Faker — pull request #211 by Thinkscape (2013-11-26 17:57:37+00:00)
Title: Fix integer values overflowing on signed INTEGER columns.

Doctrine does not hint or support unsigned schema columns, which means that by default columns will be signed in many DBMS.

For example in the most popular DBMS, MySQL, the max value for `INTEGER` column is 2147483647.

I have changed the upper bound for integer generation to be in the safe zone.

This fixes exceptions thrown from Doctrine such as:

> SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'number' at row 1