using UUID also keeping Id as well in laravel

Posted 5 days ago by engrlaravel

I have users table with Id primary key. I do not want to change / alter users table but add one more field as uuid and allow users to login based on it. is it possible?

1- is it possible to have both Id (primary key and auto increment) and uuid?

2- can i use uuid in anyother table? other than users table?

3- If we add uuid field as well, will it be possible to login user with that?

Please sign in or create an account to participate in this conversation.