Upgrade instructions to 5.3 are missing db structure changes:
https://www.kamailio.org/wiki/install/upgrade/stable-to-devel
I remember seeing many in the commits.
It would be a good idea (actually Kamailio policy) to immediately update
the wiki when a db change is made.
-- Juha