mardi 3 octobre 2017

Change 32-bit PK to BIGINT on 32-bit rails app

I have a Rails 3.2.18 app running on 32-bit Ubuntu using MySQL as the backend. The PK for one of my tables is a 32-bit integer and has recently maxed out. I know that you can change the PK from int to BIGINT in MySQL, and MySQL will handle the conversions. My question is will Ruby/Rails be able to handle the new, larger, id field since its running on a 32-bit platform?

Aucun commentaire:

Enregistrer un commentaire