Types conversion

Does underlying component type translation ? For example when I define some field as boolean common translation to MsSQLshould be ‘bit’ but for postresql could be literaly ‘boolean’. If that does not exists I’ll have to write diferents specifications for each language. Maybe I’m doing something wrong? maybe the spirit is that different database => different dbml ?

Thats is a must functionallity IMHO …

Table types {
  boolean boolean
}

Hi rolivares,

Indeed, the “boolean” datatype is defined differently across various SQL dialects. Currently, there’s a bug that the dbml → SQL exporter does not take this into account and export boolean type AS IS into SQL.

We’ll try to fix this in the future and let you know when it’s ready.

Regards.

1 Like