close
Schemacrawler logo

SchemaCrawler

Free database schema discovery and comprehension tool

SchemaSpy Adapter

SchemaCrawler provides a SchemaSpy adapter so teams can keep familiar SchemaSpy-style command usage while generating modern SchemaCrawler Scribe documentation in OKF format.

Why this adapter is provided

How to use it

Use the schemaspy launcher from a SchemaCrawler distribution or Docker image.

schemaspy \
  -t sqlite \
  -db ./sc.db \
  -u sa \
  -p "" \
  -o ./schema-output.zip

You can list supported SchemaSpy database types:

schemaspy -dbhelp

The adapter translates options and runs SchemaCrawler with command scribe and output format okf.

Docker usage

In the SchemaCrawler Docker image, both schemacrawler and schemaspy are available:

docker run --rm -it schemacrawler/schemacrawler schemaspy -dbhelp

Expected output

By default, output is a ZIP artifact. For a successful run, expect OKF content such as:

Current compatibility notes