volatiletech / sqlboiler

Generate a Go ORM tailored to your database schema.
BSD 3-Clause "New" or "Revised" License
6.73k stars 544 forks source link

Signed bigints are generating null.uint64 instead of null.int64 #427

Closed jkang8 closed 5 years ago

jkang8 commented 5 years ago

Version 3.0.0

ALTER TABLE table_name CHANGE COLUMN col1 col2 BIGINT;

I expected the go struct field to be of type null.Int64 but instead it generated null.Uint64

aarondl commented 5 years ago

This was fixed in v3.1.0 please check CHANGELOGs on latest releases or attempt to use the latest version before filing bugs :)

aarondl commented 5 years ago

https://github.com/volatiletech/sqlboiler/commit/f480b4b59158822aa6dadd67c152ee85dd40232d