Rindle docs and package mapSkip to main content

classify_migration_file

Function classify_migration_file 

pub fn classify_migration_file(
    statements: &[String],
) -> Result<MigrationFileKind, BookkeepingError>
Expand description

Classify one migration file’s statement vector as DDL or data, refusing mixed and unsupported statement classes.