dbml icon indicating copy to clipboard operation
dbml copied to clipboard

Postgres types with multiple words doesn't work (like: "double precision")

Open eminfedar opened this issue 3 years ago • 0 comments

DBML says column types must be one word. But Postgres has multiple word data types like double precision

For example this gives an error:

Table User {
  Field double precision
}

This should export a Postgres .sql file like this:

CREATE TABLE "User" (
  "Field" double precision
);

eminfedar avatar Aug 10 '22 05:08 eminfedar