Skip to main content

apply_push

Function apply_push 

Source
pub fn apply_push(
    connection: &ResolvedConnection,
    plan: &PushPlan,
    force: bool,
) -> Result<(), CliError>
Expand description

Apply a previously planned push.

ยงErrors

Returns CliError::Aborted if the user declines the confirmation prompt for a destructive plan, and CliError if the prompt itself fails or if executing the planned SQL statements against the database fails.