What is the best way in appery.io to assign a unique code to each new user?
I have a db table with a list of codes. When a user sign up I need to assign him a unique code from the list.
It has to work also when some users sign up at the same time.
Thanks