diff --git a/internal/codegen/golang/sqlite_type.go b/internal/codegen/golang/sqlite_type.go index 3667367b83..97c52ec101 100644 --- a/internal/codegen/golang/sqlite_type.go +++ b/internal/codegen/golang/sqlite_type.go @@ -21,10 +21,7 @@ func sqliteType(req *plugin.CodeGenRequest, col *plugin.Column) string { return "sql.NullInt64" case "blob": - if notNull { - return "[]uint8" - } - return "*[]uint8" + return "[]byte" case "real", "double", "doubleprecision", "float": if notNull {