Skip to main content

render_migration_rust

Function render_migration_rust 

Source
pub fn render_migration_rust(migration: &Migration) -> String
Expand description

Renders a self-contained Rust migration definition. The output deliberately calls Migration::new, so its checksum always describes the source that will be compiled and registered.