Skip to content

Cannot set nullable varchar field to empty string #109

@snagles

Description

@snagles

Describe the bug
Unable to explicitly set a varchar field to an empty string. When setting to an empty string, the value is converted to null.

To Reproduce
Steps to reproduce the behavior:
Schema

CREATE TABLE table (
	"id" SERIAL PRIMARY KEY,
	"email" VARCHAR(255),
)

Feature

  Given set "db" table "table" list of content
      | id    | email |  
      |  1    |           |

Expected behavior
Defined field with empty string value.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions