Skip to content

Commit ed447d6

Browse files
Cyberaxkyleconroy
authored andcommitted
Add another synonim for int32 type (#224)
1 parent 6a4dcec commit ed447d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/dinosql/gen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ func (r Result) goInnerType(col core.Column) string {
524524
case "smallserial", "pg_catalog.serial2":
525525
return "int16"
526526

527-
case "integer", "int", "pg_catalog.int4":
527+
case "integer", "int", "int4", "pg_catalog.int4":
528528
if notNull {
529529
return "int32"
530530
}

0 commit comments

Comments
 (0)