lib/db: Add mechanism to repair db without schema update (ref #7044) (#7047)
lib/db: Add mechanism to repair db without schema update (ref #7044) (#7047)


wweich/syncthing,imsodin/syncthing,imsodin/syncthing,wweich/syncthing,syncthing/syncthing,syncthing/syncthing,syncthing/syncthing,wweich/syncthing,imsodin/syncthing,syncthing/syncthing,syncthing/syncthing,syncthing/syncthing,wweich/syncthing,imsodin/syncthing,imsodin/syncthing