I need to create random number from 1 to 9999 that is not repeated in my supabase table when creating a new product through a form.
Process: product name, price... save and assign a number from 1 to 9999 but this number is aleatory and not in the table.