fn run_startup_migrations_and_reconciliation( shared_db: Arc<DatabaseHandler>, standby_mode_active: bool, skip_db_migrations: bool, ) -> Result<()>