delete sqlite database when switching to debug mode