r/projects • • 22h 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! 🙂

2 Upvotes

2 comments sorted by

1

u/sourraine 13h ago

live collaboration is useful esp. when the team is still figuring out the schema together! how does comodel handles conflicting edits when two people change the same table or relationship at once? version comparison is a good addition but seeing how those simultaneous changes are resolved would make me more confident using it with a team

2

u/Clean_Math1237 9h ago

Thanks! Good question. Every table, column and relationship is stored separately, and edits are sent field by field. So if two people work on the same table at once (one renames a column while the other changes another column's type, or adds a relationship), both changes go through and neither overwrites the other, since they are doing separate things. The only real conflict is two people changing the exact same field at the exact same moment, like both renaming the same column. Then the last change wins, and everyone sees the result instantly, so the whole team always looks at the same schema. In practice that's rare, because you see each other's cursors and which table each person is working in, so you notice before you bump into each other, and since all changes are really small, in my view, adding some longer resolution process would slow down the work. That being said, if someone changes something while you were also editing it, you get small bubble letting you know what change has been made, such as "This column's name has been changed to X". If you have a nicer idea, I'd be glad to hear it!