try catch on migration