Giving the customer a UUID - are there any plugins/packages that can do this? If not, how best to manually implement it?
-
Hi, I need the customer to have an unchangeable UUID that will be used for external app integration (a field that will always remain the same). I noticed that the current setup does not give the customer such a property, but only an auto-increment ID.
Are there any packages or plugins for Bagisto that automatically add such a property to the Customer model?
If there aren't, I will add it manually, but what is the best practice for that? Should it replace the current
id
field, or should it be an additional property not used by Bagisto itself, but only for the external app integration? -
Hi @KiwiNFLFan,
Never change the primary key, just try to add one more column and place your custom uuid there.