My conversation "Design a schema like Calendly" --> Did it "OK let's scale this to 100m users" --> Tells me how it would. No schema change. "Did you update the schema?" --> Updates the schema, tells me what it did. We've been running into this EXACT failure mode with current models, and it's so irritating. Our agent plans migrations, so it's code-adjacent, but the output is a structured plan (basically: tasks, which…
Show HN: ChartDB Agent – Cursor for DB schema design
11–20 of 37 posts
Re: Show HN: ChartDB Agent – Cursor for DB schema design
#12A SQL MCP + mermaid is all you need.
Btw, it can also do an awesome job turning query plans into readable mermaid flow diagrams, adding details to the chart, using color to highlight bottlenecks.
Re: Show HN: ChartDB Agent – Cursor for DB schema design
#13This is super cool! Have you thought about making a tool to help preview/dry run migrations? I feel that's something I would want a ton of confidence in if an LLM is making migration scripts. Especially if it's doing scary stuff like breaking up a table.
Re: Show HN: ChartDB Agent – Cursor for DB schema design
#14Re: Show HN: ChartDB Agent – Cursor for DB schema design
#15Re: Show HN: ChartDB Agent – Cursor for DB schema design
#16I can prompt an LLM to make a mermaid diagram and iterate on it. Why do I need "ChartDB"?
Re: Show HN: ChartDB Agent – Cursor for DB schema design
#17In my experience most AI coding tools can work with databases, especially if you give it an MCP tool to connect to your (development) database. It will generate mermaid er-diagrams by reading from your database catalog, it will generate SQL to create tables, views, etc. It will generate queries, validate them and return data. It will optimize your query performance by running the query, running explain plan, looking…