Currently, when a customer adds a new patch, patch_id
will be increased by one. However, this affects other customers as well. Say customer A
adds a new patch, then the next patch customer B
adds, will be an even higher ID.
I want to separate these, as i use the ID
in the url, on a customer-basis. And i don't find it appropriate that a user will see patch/324
in his URL, if he's got only 3 patches. Each patch has a customer_id
, equal to the corresponding customer.
How can i achieve this? I've been searching the internet far and wide, but i really don't know the proper way to express this question in short, to find a relative search-term.