TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Online database diagram editor

311 pointsby 1ilitabout 1 year ago
Hey all! I released drawDB about a month ago and now it&#x27;s open source. I hope you find it useful.<p>If you want to check out the app you can go to <a href="https:&#x2F;&#x2F;drawdb.vercel.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;drawdb.vercel.app&#x2F;</a> .<p>Thank you:)

21 comments

yodonabout 1 year ago
Are there any advantages that could come from encouraging a tool like this to emit both SQL and strongly-typed classes representing the data in say TypeScript and C#?
评论 #39958216 未加载
评论 #39957789 未加载
larodiabout 1 year ago
Having spent fair amount of time on inf.architectural position, I’d really love these tools to also adapt some sort of markup. Sequencediagram.org being perfect example (and others alike) where it takes seconds to put a diagram that otherwise takes hours to prepare. Sadly I know of no standard and lightweight markup for E&#x2F;R modelling…<p>Mermaid is good for flowcharts, but we still lack reasonably good one for BPMN and enterprise diagrams. (BPMN.io is great but lacks its own lang)
评论 #39959693 未加载
评论 #39961095 未加载
评论 #39966446 未加载
评论 #39960241 未加载
评论 #39959773 未加载
sopooneoabout 1 year ago
Fantastic. I was literally <i>just</i> looking for something like this. I&#x27;m using it now.<p>One thing that may be me getting my brain reversed, but when you set the &quot;cardinality&quot; of a relationship the &quot;1&quot; and &quot;n&quot; markings on the connecting line seem to be reversed?
评论 #39958508 未加载
zimmundabout 1 year ago
Looks very nice! A few things I&#x27;d like to see to make it more useful:<p>- Let me pick a database when I start so the data types are restricted to that particular database. This can help down the line with other quirks and particularities of each db.<p>- I&#x27;d love to be able to use this and convert it to a model for my ORM (I&#x27;m currently using Prisma, but depending on your vision this could expand to other languages and ORMs such as, for example, Django). This would be helpful because I&#x27;d be able to jump from design to implementation without rewriting everything as models in my ORM.<p>- The nodes to establish relationships are difficult to click, and several times I ended up dragging the table instead. Consider making them easier to grab.<p>- If I delete a property from the table (in the grid) there&#x27;s no quick way to undo. A toast message with an undo link would be helpful.<p>- The &quot;delete diagram&quot; option didn&#x27;t ask me for confirmation and even if I saved my diagram before, it&#x27;s gone. And this option is dangerously close to &quot;Rename&quot;!
matthasfunabout 1 year ago
Looks real nice!<p>Clean for sure.<p>First feedback I have is, when you click &quot;Settings&quot; &gt; &quot;Flush Storage&quot; there is no &quot;Hey this button will delete everything you have been working on are you sure you want to do this?&quot; type message to confirm if someone wants to actually flush the storage.<p>I was about 6 or 7 tables deep messing around with it and was looking at settings and kind of absent mindedly clicked that without thinking and everything was gone :D
评论 #39957853 未加载
michaelmiorabout 1 year ago
This looks great! However, a pet peeve of mine that I always share with my students is that ER diagrams do not have foreign keys. ER diagrams represent relationships with a diamond connected by lines to the related entities. It looks like what this is producing is not really an ER diagram.
评论 #39962341 未加载
account-5about 1 year ago
At first I thought this was drawio: <a href="https:&#x2F;&#x2F;www.drawio.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.drawio.com&#x2F;</a> with which you can generate a schema diagram from SQL. Is this the other way around.
评论 #39959049 未加载
wazbugabout 1 year ago
What&#x27;s up with projects using &quot;-io&quot;&#x2F;&quot;.io&quot; in their name but not actually using a .io domain?<p>drawio.com brands itself as &quot;draw.io&quot; but uses .com.<p>OP, why is it &quot;drawdb-io&quot;?<p>Cool project btw :)
评论 #39970378 未加载
评论 #39971244 未加载
MForsterabout 1 year ago
This looks great.<p>Would be even better if it lived in VSCode, auto-syncing with my DDL files...
评论 #39958607 未加载
ttfkamabout 1 year ago
Honestly, what I&#x27;m looking for is a tool that generates the docs and diagrams for a database from the database schema itself and lays it out cleanly. So far I&#x27;ve found tools that will try to generate a diagram naively even if there are a hundred tables, and I&#x27;ve found tools that make you recreate your structure twice: once in DDL and the second time in docs&#x2F;diagramming.<p>I want Javadoc with scoped diagrams for relational databases.
评论 #39956654 未加载
评论 #39957247 未加载
评论 #39956603 未加载
trenchgunabout 1 year ago
Have you considered packaging this as a VSCode extension?
评论 #39959944 未加载
DiggyJohnsonabout 1 year ago
Cool project. Your website is much more detailed than your Github so I&#x27;d like to share this for visibility: <a href="https:&#x2F;&#x2F;drawdb.vercel.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;drawdb.vercel.app&#x2F;</a><p>Any updates on PostgreSQL import support?
评论 #39971285 未加载
me_bxabout 1 year ago
You might want to mention that it is a &quot;data modelling tool&quot; somewhere in the description text, as some of your target users will definitely use that term to search for such a solution...
评论 #39962226 未加载
gardenhedgeabout 1 year ago
For tools like these, I need the ability to save locally to my own device and not have anything saved&#x2F;sent to the cloud. draw.io is the best example of this.
评论 #39962204 未加载
评论 #39961705 未加载
p4bl0about 1 year ago
This is awesome I was just looking for something like that. The ability to build the diagram from the SQL source is really cool! Thanks!
评论 #39962224 未加载
jesperweabout 1 year ago
As soon as you add postgres SQL import this will be my daily driver! (I&#x27;ve been looking for a tool like this many times)
评论 #39962232 未加载
nikolayabout 1 year ago
Nothing beats dbdiagram [0]!<p>[0]: <a href="https:&#x2F;&#x2F;dbdiagram.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;dbdiagram.io&#x2F;</a>
评论 #39958139 未加载
评论 #39957465 未加载
评论 #39957836 未加载
adawg4about 1 year ago
Does this look at my database for me or is it for ideation?
victorbjorklundabout 1 year ago
Oh, this is nice!
nirav72about 1 year ago
This is great! Any plans to containerize this?
评论 #39957794 未加载
xydacabout 1 year ago
looks nice, wonder what would take to hook this to a database connection directly
评论 #39958629 未加载