How can one generate a (digital) key about 6 digits, it is necessary that each user has his own key, and so that it does not repeat. I looked at the uuid but there I generated a complex key, and I did not find how to change the generation. but you can use the random method, if it is, then there must be some kind of validation, and as I understood the custom one. So, I did not write custom validations, I would like to help or at least redirect to the correct sources
friendly_idgem - Mal Skrylev