tomato icon indicating copy to clipboard operation
tomato copied to clipboard

Cannot set nullable varchar field to empty string

Open snagles opened this issue 5 years ago • 0 comments

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 avatar Jun 22 '20 18:06 snagles