polluter icon indicating copy to clipboard operation
polluter copied to clipboard

Bytea type doesn't work

Open fr3fou opened this issue 4 years ago • 0 comments

I can't seem to seed columns of type bytea. The parser treats the string I provide as "literal" instead of the raw hex bytes:

foo:
    hash: fb1d2d7b10245525cb347e3e38ebc07f27335972d20555a737847640c10c74a6

should insert in the database image but instead results in (simply casting the value) image The best way to solve this is to provide an escape hatch, just like https://github.com/go-testfixtures/testfixtures (the 0x binary prefix, as well as the RAW= functionality) image

fr3fou avatar Apr 19 '21 10:04 fr3fou