Merge remote-tracking branch 'upstream/staging/electro-release' into staging/electro-release
Merge remote-tracking branch 'upstream/staging/electro-release' into staging/electro-release
Run migrations when connection already established in console

MSP-10955

`Msf::Ui::Console::Driver#initialize` doesn't call
`framework.db.connect` if it can't find the the `database.yml`, but when
using `msfpro`, the connection is already established, so the console
doesn't need to know where the database file is and should just run the
migrations so that `framework.db.migrate` can be set and
`framework.db.active` will return `true`.