Universal database migration tool