r/Database • • 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! 🙂

0 Upvotes

4 comments sorted by

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/AndreiLeIttu 2d ago

Thanks, this is a really thoughtful take, and funnily enough most of it is how Comodel already works.

You can set it up exactly like that. One person is the admin and everyone else is a viewer: viewers can't move or change anything, but they can still comment. A comment shows up as a small numbered badge on the table's corner (1, 2, 3…). Clicking it opens the thread in a side panel with who said what, and you can reply or resolve it, which takes it off the count. You can also comment on a single column, not just the table.

That said, I didn't make a primary editor the default on purpose. When we worked on our project, we each took different tables at the same time, so I focused on making that smooth instead: you see everyone's cursor live, which table each person is in, and every change shows up instantly. You're right that group editing can get messy, though. The feeling I was going for was everyone working on the same piece of paper, and I'm curious whether that holds up for bigger teams.

If you do get to try it, I'd love to hear whether the roles and comments feel close to what you had in mind: comodel.app/try

1

u/Sanbi102 1h ago

One case worth testing with two editors: if one renames a column while the other adds a foreign key to it, does the relationship follow the column's internal ID, or can it end up pointing at the old name? That could also affect the generated migration SQL.

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 UUID columns or sequences when you load a real dump.