dbpm check-core
Verify that Core is installed in the target database and optionally meets a minimum version requirement. This is a read-only command — it makes no changes.
Syntax
Section titled “Syntax”dbpm check-core [--minimum-version VERSION] [--connect STRING] [--runner EXEC]EBNF diagram
Section titled “EBNF diagram”flowchart LR command["command"] --> dbpm["dbpm"] dbpm --> check_core["check-core"] check_core --> options["{ option }"] options --> end_node(("end"))
options -. expands to .-> option["option"] option --> minimum_version["--minimum-version VERSION"] option --> connect["--connect STRING"] option --> runner["--runner EXEC"]
minimum_version -. constrains success .-> version_note["Core must be at least VERSION"]Arguments
Section titled “Arguments”| Argument | Default | Description |
|---|---|---|
--minimum-version | none | Minimum acceptable Core version, such as 3.2.0. If omitted, any installed Core version passes. |
--connect | DBPM_CONNECT | SQLPlus/SQLcl connect string. |
--runner | DBPM_SQL_RUNNER or sqlplus | SQL runner executable. |
Output
Section titled “Output”On success:
CORE_VERSION=3.4.0On failure, dbpm exits with code 2 and prints an error to stderr.
Examples
Section titled “Examples”Check that any Core version is installed:
dbpm check-core --connect user/pass@dbCheck that Core meets a minimum version:
dbpm check-core --minimum-version 3.2.0 --connect user/pass@dbUsing environment variables:
export DBPM_CONNECT=user/pass@dbdbpm check-core --minimum-version 3.0.0- Run
check-corebefore any non-Core deployment to verify the substrate is ready. - Core must be bootstrapped with
dbpm bootstrap-corebefore ordinary package installs can run.
Source: docs/commands/check-core.md