Remove default condition

This commit is contained in:
Maximilian 2023-02-15 19:10:50 -06:00
parent f2a7336283
commit 3336bd0b3f

View File

@ -97,8 +97,6 @@ func getPostgresType(goType string) (string, error) {
return "timestamp", nil return "timestamp", nil
case "[]byte": case "[]byte":
return "bytea", nil return "bytea", nil
default:
return "text", nil
} }
return "", errors.New("Unknown type: " + goType) return "", errors.New("Unknown type: " + goType)