Skip to content

Commit 9feb79a

Browse files
committed
fix: Use bytes for binary columns
1 parent 245f052 commit 9feb79a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/postgresql_type.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func postgresType(req *plugin.GenerateRequest, col *plugin.Column) string {
2222
case "json", "jsonb":
2323
return "Any"
2424
case "bytea", "blob", "pg_catalog.bytea":
25-
return "memoryview"
25+
return "bytes"
2626
case "date":
2727
return "datetime.date"
2828
case "pg_catalog.time", "pg_catalog.timetz":

0 commit comments

Comments
 (0)