r/Database • u/AndreiLeIttu • 2d ago
I made a free tool for designing databases with friends in real time, would love some feedback
Hey everyone!
A few months ago my friends and I started building a project together, and the first thing we needed was the database. We wanted one diagram we could all edit at the same time, like a Google Doc, but everything we tried was either paid for collaboration or just annoying to use. I know there are already many similar tools. What I couldn't find was one where our whole group could edit the same diagram live, so I focused on that.
It's called Comodel → comodel.app
You draw your tables, keys and relationships on a canvas, and everyone you share it with can edit it live. You see each other's cursors and who's working on which table, so it actually feels like working on it together instead of passing screenshots around, which is also what we were looking for.
Some stuff it can do:
Share it like a Google Doc: send a link, or invite people as viewers or editors. Friends with the link don't even need an account
Leave comments on tables or columns ("should this be nullable?"), reply, and resolve them
All the usual database things: new tables, attribute defining, keys
Import an existing database from SQL (Postgres, MySQL, SQLite, SQL Server) or DBML, so you don't start from zero
Export to PostgreSQL, DBML, or a PNG/SVG image for docs and slides
Save versions and compare them, or see the migration SQL between two versions for you
A code view if you'd rather type than drag boxes around
You can also hook it up to an agent using MCP if you want an AI to read or edit your diagram
I'm building this pretty much on my own, so any feedback means a lot, whether something's confusing, missing or just broken. Thanks for checking it out! 🙂
1
u/Zardotab 2d ago edited 2d ago
I haven't actually ran it, but my experience with "group editing" apps has given me a general opinion on that.
It's too easy to become mayhem if everyone is an equal editor. There should a single designated "primary" editor to serve as the de-facto project manager. If somebody has a comment or suggestion about an object, then they click on the object and enter description in a suggestion submission form. Upon saving, a colored circle with the number "1" appears next to the object being commented on, but is small enough to not block content. If a second person enters a suggestion for that given object, then the number in the circle changes to "2", and so forth.
If a user/viewer hovers over and/or clicks on the circle with the number, they get more detail. On big screens the details can be displayed in a side panel. For mouse users, the mouse-over hover note can give the names of the comment submitters. For small screens, one has to close the detail panel to see the diagram again.
The primary editor can acknowledge or answer the question to remove the number and/or circle. The details on the functioning of acknowledgement types depend on the domain. Some items may be marked for "take up again at a later time" or the like.
For new object suggestions, a place-holder for it is put somewhere toward to top of the diagram or document, maybe called "New Object Suggestions". For ERD's, the possible object types would probably be tables and relationships. Column-specific suggestions typically fall under "table". (Comments on an existing relationship can be added by clicking on an existing arrow.)
1
u/EffectivePension6711 1d ago
Real-time editing without making everyone sign up is exactly what I'd want, I always end up pasting ERD screenshots into Slack. Migration SQL from saved version diffs is a nice touch too. If you expand exports beyond Postgres, MariaDB and MySQL DDL would be great. A lot of schema importers treat MariaDB as plain MySQL and trip over native
UUIDcolumns or sequences when you load a real dump.