cleanup repository database migration