Hello Wix Community,
I am facing issues in updating wix database using hooks.
I have a database that stores my courses with a serial number that is auto generated and auto incremented using before insert hook.
Scenario of the issue.
I have 5 items in my database with serial number 1, 2, 3, 4 and 5 respectively.
Due to some reason I have to delete item numbered 3 from my database. Upon deleting the item with serial number 3, the serial number of item 4 and item 5 (before deletion) does not change to serial number 3 and 4 respectively.
Is there any way to work this out??