Compare

Penna and dbdiagram

dbdiagram made DBML, and it's a fast, focused tool for database diagrams. Penna's schema code is the same DBML, so moving a schema over is a copy and a paste.

Penna is invite-only for now. Already invited? Sign in

suppliersidintegernamevarcharordersidintegersupplier_idinteger?totaldecimalinvoicesidintegersupplier_idinteger?due_ondate?
Table suppliers {  id integer [pk]  name varchar [not null]}Table orders {  id integer [pk]  supplier_id integer [ref: > suppliers.id]  total decimal [not null]}Table invoices {  id integer [pk]  supplier_id integer [ref: > suppliers.id]  due_on date}
DBML, as dbdiagram writes it, drawn by Penna.

Pick Penna if

  • Your schemas sit next to processes and system flows, and you want them in one place.
  • You want Claude, ChatGPT or Gemini to design and change a schema.
  • You need SQL for PostgreSQL, MySQL, SQL Server, SQLite or Oracle.

Pick dbdiagram if

  • You only draw database diagrams.
  • You publish schema docs with dbdocs.

Move a schema over

Copy the DBML from dbdiagram and paste it into Penna's schema code pane. The colours come with it.