dbml icon indicating copy to clipboard operation
dbml copied to clipboard

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

Open huyleminh01 opened this issue 1 year ago • 0 comments

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

huyleminh01 avatar Nov 06 '24 08:11 huyleminh01