jeudi 16 avril 2015

Databases - String as Primary key?

I develop an application with Laravel 5 and use sqlite during development. I want to switch to something faster later on. I'd like to have a string as unique identifier for the users-table. Is this a problem in any way? For example with foreign keys? Or is there no difference to auto-increment integers?


Aucun commentaire:

Enregistrer un commentaire