Postgres Array export fails

Postgres expects the following syntax for array types:

CREATE TABLE contacts (
    variants TEXT []
);

When I use:

variants array

It exports as:

"variants" array,

Which fails.

User error on my part?

Created an issue on github as well: https://github.com/holistics/dbml/issues/46

1 Like