Describe a time when you had to migrate a legacy system or database to a modern architecture. How did you manage risk and minimize downtime?