aimeos / ai-admin-jqadm

Aimeos e-commerce Vue.js+Bootstrap based admin interface
https://aimeos.org
GNU Lesser General Public License v3.0
185 stars 43 forks source link

SKU - Auto increment #116

Closed SirSteve closed 4 years ago

SirSteve commented 4 years ago

As an admin, I want the SKU to auto-increment starting at 1 so that I do not have to maintain this field.

aimeos commented 4 years ago

That's a bit contrawise to the intention of the field because it should contain an unique article number. If you don't need and want that, you can overwrite the implementation and add a unique value yourself. An auto-increment value isn't possible because there's already one for the ID column but you can use a md5 hash of something for example