auto move db file to the app directory