Convert data migration to migration to minimise downtime