remigrating database