pub(crate) async fn migrate( services: &Services, foreign_lineage: bool, ) -> Result
Apply any migrations