Database migration tool for use in compound