Skip to main content

migrate

Function migrate 

Source
pub async fn migrate(pool: &DbPool) -> Result<(), SchemaCompatibilityError>
👎Deprecated since 0.1.2:

use migrate_after_idempotency_cutover to make the enqueue request snapshot cutover explicit

Expand description

Apply the bundled Runledger schema migrations to a PostgreSQL pool.

Deprecated compatibility alias for migrate_after_idempotency_cutover. The current migration set enforces the enqueue request snapshot cutover, so this function has the same strict behavior as the new explicit API.