pub fn run_generate(
registry: &SchemaRegistry,
migrations_dir: &str,
name: &str,
dialect: Dialect,
) -> Result<Option<String>, DbCoreError>Expand description
Generates a migration file from the diff between the latest snapshot and the current schema.
ยงErrors
Returns DbCoreError if reading/writing the snapshot, journal, or migration file fails.