pass parameters from connect to migration