Skip to content

Comment on Twitter's UID associated to each tweet will very soon exceed 2,147,483,647parent

Comments

Assuming that Rails is still interacting with the DB, and the ID in question is the primary key (ie, the 'id' on the 'twits' table) isn't quite that easy.

I had to do this a couple of years back when I realized I had a table that'd grow quickly:

http://snippets.dzone.com/posts/show/4422

Feel free to send the donation to the same place.

Is there no easier way then this? Can't believe that wasn't integrated into rails...

"Can't believe that wasn't integrated into rails..."

You just made my day. I haven't laughed so hard in ages ;)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.