Rails 5.1: Default Primary Keys Are Now BIGINT

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.


Rails 5.1: Default Primary Keys Are Now BIGINT #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/rails-51-default-primary-keys-are-now-bigint

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles