I use int(255) in mysql as my id. Is this long enough? If I got about 1,000,000 records....Thank you.
-2147483648 to 2147483647 as per the docs for a signed 32 bit integer value
The 255 is simply display width and doesn't affect the range of values