Skip to main content

migrate_postgres_flow

Function migrate_postgres_flow 

Source
pub async fn migrate_postgres_flow(
    executor: &PostgresExecutor,
) -> Result<MigrationReport>
Expand description

Apply the canonical Flow PostgreSQL schema with a dedicated migration executor.

Production hosts should terminate this operation before starting serving workers, then construct stores and queues through their *_verified constructors with a role that does not have DDL authority.