cleaned up repo, but database not working!