Specify database connection when migrating