Add dir for database if needed