/oss · 4 merged

holistics/dbml

A simple language for describing database tables, with tools that convert it to and from SQL.

the project on GitHub (opens in a new tab)
  1. 2 Dec 2026

    Text defaults with quotes convert both ways

    What was broken
    A text default with a quote in it, such as Don't panic, broke conversion. Imports kept the SQL escaping, and exports wrote the quote bare, so the database rejected it.
    What I changed
    Importers now read escaped quotes back to plain text, and exporters escape them the way each database expects.
    Why it matters
    Schemas with quotes in their defaults move between SQL and DBML without breaking.

    see the code, #1062 (opens in a new tab)

  2. 26 Nov 2026

    Postgres imports keep the double precision type

    What was broken
    Importing a Postgres schema with a float column wrote its type as doubleprecision, so the SQL exported from it failed to load in Postgres.
    What I changed
    The importer now keeps the space between the two words of the type.
    Why it matters
    Schemas from pg_dump round-trip back into Postgres.

    see the code, #1060 (opens in a new tab)

  3. 26 Nov 2026

    SQL Server exports no longer try to create dbo

    What was broken
    SQL Server exports began with a command to create the dbo schema, which always exists, so SQL Server stopped there and created no tables.
    What I changed
    The export now skips creating the built-in dbo schema.
    Why it matters
    Exported SQL runs on SQL Server as it is.

    see the code, #1059 (opens in a new tab)

  4. 20 Nov 2026

    JSON column defaults from Postgres survive the round trip

    What was broken
    Reading a Postgres database into DBML lost the quotes and type on JSON column defaults, so turning it back into SQL gave code Postgres refused to run.
    What I changed
    JSON defaults are now kept exactly as Postgres reports them, the same way the SQL importer already writes them.
    Why it matters
    Schemas pulled from a live Postgres database can be turned back into working SQL.

    see the code, #1047 (opens in a new tab)

← every project