Those diagrams that show you your database tables and the links between them through foreign keys are apparently called Entity Relationship Diagrams (ERDs). I wanted to create one for my sqlite database to keep track of everything but I'm a cheapskate and didn't want to pay anything.
It turns out MySQL WorkBench is great for this. You don't need to register with them to download the program. You don't need a MySQL database running for this. I simply followed these steps:
My only complaint with this tool on Mac is that is pretty unstable and crashes on every whim. Save often.
It turns out MySQL WorkBench is great for this. You don't need to register with them to download the program. You don't need a MySQL database running for this. I simply followed these steps:
- From the sqlite3 commandline I types .schema which printed the database schema to the console.
- I pasted the schema into a file and saved it
- I used Import from MySQL Workbench to parse the schema and place it on a diagram.
My only complaint with this tool on Mac is that is pretty unstable and crashes on every whim. Save often.
I highly recommend Vertabelo - http://www.vertabelo.com Vertabelo is an online database designer working under Chrome and supports SQLite.
ReplyDeleteThe most important feature of this tool is that it allow to share database models across the team and collaborate on them via web browser.
Others Vertabelo features include:
* Model versioning
* Support for MySQL, PosgreSql, Oracle, MS SQL Server, DB2, SQLite, HSQLDB
* Dynamic/Visual search
* Live database model validation
* Reverse and forward engineering
Vertabelo is free to use for smaller projects and have commercial versions for larger.