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