Skip to main content

apply_change_notifications

Function apply_change_notifications 

Source
pub async fn apply_change_notifications(
    db: &Database,
    on: bool,
) -> Result<(), AppError>
Expand description

Turns the database’s change triggers on or off as [database] change_notifications says (decision 38A’), logging a change; done where migrations are, holding the master’s lease.

§Errors

AppError::Db if the statements fail.