Skip to main content

generate_helpers_file

Function generate_helpers_file 

Source
pub fn generate_helpers_file(entities: &[Entity]) -> String
Expand description

Generate the helpers.rs file with create_db and create_memory_db.

This file lives in migrations/helpers.rs and registers all auto-generated migration functions with the CrdtDb builder.