Opens a DuckDB database at db_path, creates the v0.1.0 schema if needed,
and validates it.
Examples
db_path <- tempfile(fileext = ".duckdb")
con <- ledgr_db_init(db_path)
ledgr_validate_schema(con)
DBI::dbDisconnect(con, shutdown = TRUE)
Opens a DuckDB database at db_path, creates the v0.1.0 schema if needed,
and validates it.
db_path <- tempfile(fileext = ".duckdb")
con <- ledgr_db_init(db_path)
ledgr_validate_schema(con)
DBI::dbDisconnect(con, shutdown = TRUE)