Skip to main content

run_schema_apply

Function run_schema_apply 

Source
pub fn run_schema_apply(
    db_dir: &Path,
    schema_file: &Path,
) -> Result<String, CliError>
Expand description

Read schema_file, open db_dir, apply the schema, and return the diff as one line per entry: "created rule:x", "updated view:y", etc.