Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set nullable varchar field to empty string #109

Open
snagles opened this issue Jun 22, 2020 · 0 comments
Open

Cannot set nullable varchar field to empty string #109

snagles opened this issue Jun 22, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@snagles
Copy link
Collaborator

snagles commented Jun 22, 2020

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.

@snagles snagles changed the title Cannot set varchar nullable field to empty string Cannot set nullable varchar field to empty string Jun 22, 2020
@alileza alileza added the bug Something isn't working label Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants