Creates all required ledgr tables and forward-migrates legacy schemas.
Examples
db_path <- tempfile(fileext = ".duckdb")
con <- DBI::dbConnect(duckdb::duckdb(), dbdir = db_path)
ledgr_create_schema(con)
DBI::dbDisconnect(con, shutdown = TRUE)
Creates all required ledgr tables and forward-migrates legacy schemas.
db_path <- tempfile(fileext = ".duckdb")
con <- DBI::dbConnect(duckdb::duckdb(), dbdir = db_path)
ledgr_create_schema(con)
DBI::dbDisconnect(con, shutdown = TRUE)