Rails 5.1: Default Primary Keys Are Now BIGINT

09-Dec-2016 3396

Remember the Twitpocalypse? Back in 2009, Twitter ran out of Integers. Like most of us, they set up the primary key in their tweets table to be a 32-bit signed integer. Once they hit the magical number (2,147,483,647), servers were all but guaranteed to catch fire in the most spectacular fashion.

Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle