Enhance for multi database migraions