Skip to content

Wrong column type in Postgres #3

@piotrooo

Description

@piotrooo

Hi,

there's a problem with installed column in the shops table. Postgres doesn't resolve int value for boolean type.

ERROR:  column "installed" is of type boolean but expression is of type integer at character 73
HINT:  You will need to rewrite or cast the expression.
STATEMENT:  INSERT INTO shops (shop, shop_url, version, installed) values ($1,$2,$3,1)

Occurrences:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions