13

When creating auto incrementing integer keys on a MySQL database, please mark then as unsigned, you don’t need a negative primary key 😞😞😞

Comments
  • 2
    Well if you only use the positive integers and you come to the point where it would flip over, you have very clear indicator, that you should have used a long instead.^^
  • 3
    Imma just gonna do dat rn. Negative primary keys with autodecrement!
  • 1
    I mean, i just use INT.

    Isn't that ok?
  • 0
    UUID FTW
Add Comment