pub fn apply(target: &Path, dryrun: bool) -> Result<()>
Read the config from the given path and apply it to the database. If the dryrun flag is set, the changes will not be applied.