News for hackers. Stuff that matters.
Re:Mistakes Beginners Make When Working with Databases by hinkley on Wednesday June 08, 2016 @07:25PM (#11866510)
If you get to the point of sniffing, then a slightly better option might be to suffix all your foreign keys with something like 'key' or 'ID'. Or use slugs for everything.

Or you could initialize all your tables with the first primary key being 2^32 and only lose one quarter billionth of your legal keyspace.

There are no comments on this comment yet.