Skip to main content

Information Commands

Information commands provide essential details about Dubnium, database versions, and system status. All information commands are free and do not require a commercial license.

version

Display the version of Dubnium.

Alias: -v

Usage:

dbm version
# or
dbm -v

Description: Shows the current version of the Dubnium tool installed on your system.


versiondb

Show the current database version.

Alias: -v1

Usage:

dbm versiondb
# or
dbm -v1

Description: Displays the version information of the primary database configured in your dubnium.yml file. This shows what version your database is currently at based on applied migration scripts.

Prerequisites:

  • Valid dubnium.yml configuration file
  • Database connection configured in DatabaseOne

versiondbtwo

Show the second database version.

Alias: -v2

Usage:

dbm versiondbtwo
# or
dbm -v2

Description: Displays the version information of the secondary database configured in your dubnium.yml file. This is useful when working with multiple database environments for comparison.

Prerequisites:

  • Valid dubnium.yml configuration file
  • Database connection configured in DatabaseTwo

help

List all available Dubnium commands.

Alias: -h

Usage:

dbm help
# or
dbm -h

Description: Shows a comprehensive list of all available commands organized by category, including their aliases and descriptions. Commands requiring a paid license are marked with an asterisk (*).


test

Test database connections.

Alias: -t

Usage:

dbm test
# or
dbm -t

Description: Validates the database connections defined in your dubnium.yml configuration file. This command verifies that Dubnium can successfully connect to your configured databases.

Prerequisites:

  • Valid dubnium.yml configuration file
  • Database connection strings configured

Output:

  • Success message if connections are valid
  • Error details if connections fail

update

Display the update command information.

Alias: -u

Usage:

dbm update
# or
dbm -u

Description: Shows information about updating Dubnium to the latest version and displays any available updates.