Skip to main content

migrate

Function migrate 

Source
pub fn migrate(conn: &Connection, target_version: u32) -> Result<()>
Expand description

Update schema version

This is called by the MigrationManager after a migration has been applied. It simply updates the schema_version in the projection_meta table.

Note: This function does NOT apply any migrations itself. All migration logic should be defined using the Migration trait and applied via MigrationManager.