1 2 3 4 5 6 7 8
use crate::prelude::{Graph}; pub(crate) async fn migrate(graph: &mut Graph, _dry_run: bool) { let result = graph.connector_mut().migrate(graph.models(), false).await; if result.is_err() { panic!("Migration error"); } }