Fingerprint fleet schemas
litescope_fingerprintFingerprint SQLite database schemas, cluster them, and report distinct schemas and drift from the canonical schema using a fleet config file.
Instructions
Cluster a fleet of SQLite databases by schema and report how many distinct schemas are running, with each cluster's drift from the canonical (largest) one. Reads a fleet config file (litescope.fleet.yaml). Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only include databases with this tag | |
| config | No | Path to the fleet config (default: litescope.fleet.yaml) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | Databases successfully fingerprinted. | |
| clusters | Yes | Schema clusters, canonical first, with drift from canonical. | |
| unreachable | No | Databases that could not be read. |