polluter
polluter copied to clipboard
Bytea type doesn't work
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
but instead results in (simply casting the value)
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)
