Need to pass the entire config object as parameter when creating a migration