Blog

Notes on data modelling

What's new in the app, and practical writing on schema review, migrations and Postgres from the people who build it.

Latest

Convex schemas, in and out

Announcements6 min read

Export a diagram as convex/schema.ts from any engine, paste one in, or check one out from a repository, and what happens to the parts Convex can't hold.

Read the post
  • What the generated migration actually does

    Guides8 min read

    How a diagram's changes become migration SQL for six engines, and the places where each engine needs something other than ALTER TABLE.

  • Give your schema tool a read-only login

    Guides6 min read

    A tool that reads table definitions shouldn't hold a login that can read every row. How the app writes a catalog-only login for each engine, and what it does with the connection.

  • Row level security you can read at a glance

    Guides6 min read

    Postgres policies live in migration files where nobody looks at them. Here is how to keep them next to the tables they protect.

  • Snippets: drop-in table sets that stay up to date

    Announcements6 min read

    About a hundred ready-made table sets for payments, auth, teams and more, inserted into the schema you already have and updated without losing your edits.

  • Review schema changes the way you review code

    Guides5 min read

    A dropped column deserves the same scrutiny as a deleted function. Branches and merge requests for your data model, and what a reviewer sees.

  • A vault we can't open, and a local agent

    Announcements6 min read

    Database credentials sealed in your browser with a workspace key our servers never see, and a small agent that reads databases from your own machine.

  • GitLab, Azure DevOps, Bitbucket and any Git server

    Announcements6 min read

    Build branches from migrations on every major Git host, commit migrations back, and replay more migration formats, from Flyway to Liquibase.

  • Linked databases: know when production drifts

    Announcements6 min read

    Link a diagram to the database it describes, let each branch track a target, and see within the hour when the two stop matching.

  • Six database engines, and where they're hosted

    Announcements5 min read

    PostgreSQL, MySQL, MariaDB, SQLite, SQL Server and Oracle, each with SQL written its own way, plus the hosted versions and their differences.

  • Row level security, functions and triggers on the canvas

    Announcements5 min read

    Policies, functions, triggers and notes move out of migration files and onto the diagram, and follow every branch, merge and import.

  • Organise a big schema in one step

    Announcements6 min read

    The assistant groups an imported schema by domain and lays it out, the empty canvas takes a description, and new tables can start with your usual columns.

  • Build a branch from any Git commit

    Announcements5 min read

    Your migrations folder already describes your schema. Replay it at any commit, in a real PostgreSQL in your browser, and track the repository as it moves.

  • The first version

    Announcements6 min read

    Shared diagrams, branches with reviewed merges, migration SQL, comments and an assistant that proposes changes: what's in the first release.

Start with one diagram, free

One diagram with two branches, no card needed. Upgrade when your team needs more.