repair file structure in project (db folder and patches)