Examples
Import SQLite
Import your SQLite database schema into ChartDB
Download Import Script
Download our SQLite import script:
Usage
Run the script with your database file path and ChartDB information:
Required Parameters
-f
SQLite database file path-a
ChartDB API key-t
Target diagram ID
The script will connect to your database file, extract the schema, and automatically import it into your ChartDB diagram.
Automated Daily Updates
To automatically update your diagram daily using cron, add the following line to your crontab:
To edit your crontab:
Note: Replace /path/to/sqlite-import.sh
with the absolute path to the
script and adjust the file path accordingly. The log file path
(/path/to/sqlite-import.log
) should be in a directory where your user has
write permissions.
Was this page helpful?