Live data from Hacker News

Show HN: Private, text to entity-relationship diagram tool

databasediagram.com

21–30 of 87 posts

Re: Show HN: Private, text to entity-relationship diagram tool

#21

I love tools like this (text to diagram) and tend to use mermaid for most things. I also really like draw.io which includes a gui and has integration with GitHub to save diagrams directly to a source repo. Is there a solution that has direct, bi-directional integration with Postgres/MySQL. For example, execute DDL from the diagram or point to an existing db and output the diagram text?

"Export to DDL" feature is coming up next !

Re: Show HN: Private, text to entity-relationship diagram tool

#22
> Generate DDL directly generate SQL statements to create your database tables.

Looks like it's capable of turning a diagram to SQL too? That's neat!

For those that are interested in an GPT-powered tool, we have a project that can generate diagrams from code of any language or natural language: https://eraser.io/diagramgpt

Re: Show HN: Private, text to entity-relationship diagram tool

#27
Since this thread is likely to attract good answers to this...

Are there any Terraform-like declarative tools for your schemas that will do a diff and generate a change script?

I've seen liquibase and it's just a series of migrations which I think is pretty gross.

I really like MS's SSDT tools, but the DACPAC workflow is pretty heavy to operationalize, though doable.

Re: Show HN: Private, text to entity-relationship diagram tool

#29
post #27

Since this thread is likely to attract good answers to this... Are there any Terraform-like declarative tools for your schemas that will do a diff and generate a change script? I've seen liquibase and it's just a series of migrations which I think is pretty gross. I really like MS's SSDT tools, but the DACPAC workflow is pretty heavy to operationalize, though doable.

Prisma maybe? https://www.prisma.io/

It's mostly part of a JS/TS ORM, but it uses a declarative schema language, and there are libraries in other languages to parse and process it. E.g. https://prisma-client-py.readthedocs.io/en/stable/

Re: Show HN: Private, text to entity-relationship diagram tool

#30
When I see things like this, now my immediate question is always: what's the underlying model? Is this like a generally open and free thing, with maybe a little bit of monetization to keep the lights on? Then that's great.

But, if this is looking to be a big moneymaker? eh, nah.

Post reply on HN