Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion doc/playbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,16 @@ To restore the APDB to a clean state, add the ``--drop`` option to ``apdb-cli c
Checking the APDB Version
-------------------------

To identify which schema and ApdbSql version a PostgreSQL APDB is using, run, e.g.:
If you have credentials for `rubin-pp-dev-users` configured (see `Buckets`_), you can identify an APDB's schema and ApdbSql/ApdbCassandra versions with ``apdb-cli``.
For example:

.. code-block:: sh

apdb-cli metadata show label:pp-dev:latiss:sql

See ``apdb-cli list-index`` for a list of valid labels.

For a PostgreSQL APDB, you can do the check without bucket access by running, e.g.:

.. code-block:: sh

Expand Down