pub fn build_database_downgrade_script( root: &Path, history_table_sql: &str, target: &str, ) -> Result<String, OrmError>