holistics / holistics/dbml

db2dbml - Postgres connector fetches the wrong default value for array type column

Open
#656 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
3.7k
Forks
233
Avg merge
1d 23h
Merged PRs (30d)
4

Description

I'm hitting this same kind of error running `dbdocs build`

```
# offending line
"onboarding_alt_pii_fields" "varchar[]" [not null, default: 'ARRAY[_name, date_of_birth}']']
```
```
Syntax error at line 1049 column 93. Invalid newline encountered while parsing
Syntax error at line 1049 column 43. Expect a following space
Syntax error at line 1049 column 43. These fields must be some inline settings optionally ended with a setting list
Syntax error at line 1051 column 3. These fields must be some inline settings optionally ended with a setting list
Syntax error at line 1051 column 11. These fields must be some inline settings optionally ended with a setting list
```

Is there a better place to report this?

_Originally posted by @robinator in https://github.com/holistics/dbml/issues/46#issuecomment-2455622116_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.