Thanks so much for creating this tool. I find it very useful. I recently started encountering the following error and wonder if you had any insight.
[ ]Getting columns and constraintsERRO[0017] Getting constraints failed | ERROR: more than one row returned by a subquery used as an expression (SQLSTATE 21000)
ERRO[0017] ERROR: more than one row returned by a subquery used as an expression (SQLSTATE 21000)
showAllConstraints: true
encloseWithMermaidBackticks: false
outputFileName: "database.mmd"
ignoreTables: bun_*
debug: false
omitConstraintLabels: false
omitAttributeKeys: false
showDescriptions: "enumValues"
showSchemaPrefix: false
schemaPrefixSeparator: "_"
ignoring tables with prefix river_* fixes the issue for me locally.
river.sql
Thanks so much for creating this tool. I find it very useful. I recently started encountering the following error and wonder if you had any insight.
[ ]Getting columns and constraintsERRO[0017] Getting constraints failed | ERROR: more than one row returned by a subquery used as an expression (SQLSTATE 21000) ERRO[0017] ERROR: more than one row returned by a subquery used as an expression (SQLSTATE 21000)ignoring tables with prefix river_* fixes the issue for me locally.
river.sql