Skip to main content

migration_prelude

Function migration_prelude 

Source
pub fn migration_prelude(
    schema: &str,
    role: Option<&str>,
    scope: Scope,
    statement_timeout: Duration,
    lock_timeout: Duration,
) -> String
Expand description

What a service’s SQL migrations run under: its schema, the statement and lock time bounds, and the role the migrations run as where the run imposes one.