Very cool. Which library do you use for the drag&drop part?
Show HN: DrawDB – open-source online database diagram editor (a retro)
11–20 of 62 posts
Re: Show HN: DrawDB – open-source online database diagram editor (a retro)
#12Re: Show HN: DrawDB – open-source online database diagram editor (a retro)
#13I experimented with this for five minutes, and so far it looks great. The one thing missing, or that I didn't see in five minutes, is that when I uploaded the schema for one of our SQLite databases, the tables came out perfectly, but the views were ignored. There are a lot of views, and we would want them in the diagram. I will definitely be coming back to it. As I say, what I saw was great.
Re: Show HN: DrawDB – open-source online database diagram editor (a retro)
#14Awesome work! We've been searching for something to switch away from MySQL Workbench for years, but the one feature we need is the automatic generation of SQL migration based on a current and a new schema.
Re: Show HN: DrawDB – open-source online database diagram editor (a retro)
#15It can even export as Mermaid? That's awesome. I could see that being super useful as a way to take a db schema and turn it into a chart for a github readme. Definitely bookmarking this. Btw, the SQL import doesn't seem to work for an sqlite `.schema` dump; it breaks on the PRIMARY KEY here: CREATE TABLE IF NOT EXISTS "__EFMigrationsHistory" ( "MigrationId" TEXT NOT NULL CONSTRAINT "PK___EFMigrationsHistory" PRIMARY…
regarding the sql import, it breaks because of the parser. i'm using a 3rd party parser to parse sql and pull out everything needed for the diagram. i'll report it to them, thanks for letting me know
Re: Show HN: DrawDB – open-source online database diagram editor (a retro)
#16Not everything has to be monetized. You will have other ideas or maybe you’ll take this further. It’s a ton of work to build a thriving business, and you may lose some of your joy and pride along the way. You created a useful tool and have the support of the community! That’s pretty cool. Congrats!
Re: Show HN: DrawDB – open-source online database diagram editor (a retro)
#17Re: Show HN: DrawDB – open-source online database diagram editor (a retro)
#18E.g. rather than clicking table, "add field", clicking the name, typing, clicking the type drop down etc., just start writing something like:
: users.add_column
name: email
type: varchar
length: 200
etc., with some assistive auto completeor, if you're inclined to using an LLM:
add column email to users table, varchar(200)
or, for those who want strict sql: alter table add column...Re: Show HN: DrawDB – open-source online database diagram editor (a retro)
#19As someone who is afraid to release personal projects I think what you have done is amazing. Id love to learn From your experience. You are being too humble but this kind of growth is very hardly an accident! I'm not a monetization expert by any means so take all this with a pinch to salt. If money is not an urgent factor for you you can see how far you can take it especially towards "other verticals". If you can dis…