SQLite
Currently, SQLite is supported through the tbls integration. While direct SQLite support is not yet implemented, you can use tbls as a workaround to generate schema documentation for your SQLite database.
Using tbls with SQLite
-
First, install tbls by following the installation instructions
-
Use tbls to generate a schema.json file from your SQLite database:
tbls out -t json -o schema.json "sqlite:///path/to/dbname.db"
Replace /path/to/dbname.db
with the path to your SQLite database file.
- Use the generated schema.json with Liam:
npx @liam-hq/cli erd build --format=tbls --input schema.json
For more details about using tbls format, see the tbls documentation.
Direct SQLite Support
Direct SQLite support is planned but not yet implemented. If you're interested in this feature, please follow or contribute to the discussion on GitHub.