Synology NAS version - sqlite db location

This part I’m not sure how to do with Synology. I am pretty new to their hardware so am not sure how apps are launched exactly. I am quite familiar with regular Linux but ultimately dind’t know how to modify this without it being undone by future package installs.

So for now I just made a symlink to where I moved the database files to. Will see if it works.

But what about my second question… how do I know that the database is OK after these out-of-space issues?