V
V
Vitaly2019-02-13 18:53:37
Laravel
Vitaly, 2019-02-13 18:53:37

UUID return leading digits?

Good day. Until recently, the site worked using an ordinary id. Now I'm converting everything to use uuid, but there was a problem.
Let's say there are 2 users:
The first when calling id instead of 03affbb1-749e-4ef9-88d3-b69398e14149 returns 3
The second when calling id instead of 110296f0-2f97-11e9-a44a-615103b21a9 returns 110296
What could be the problem and how to fix it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2019-02-13
@kat-vetal

We carefully read the paragraph " Primary Keys ".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question