Skip to main content

migrate

Function migrate 

Source
pub async fn migrate(pool: &Pool) -> Result<(), ForceSyncError>
Expand description

Applies the force-sync schema migrations in version order.

ยงErrors

Returns a database or pool error if the migration cannot be applied.