Skip to content

strange error on river_queue schema #69

Description

@yanfali

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions