Database migrator which helps to migrate with multiple directories