Skip to content

Conversation

lightsgoout
Copy link

Currently, sql.NullInt16 and sql.NullInt32 are created as JSONB columns. Fix that.

…nteger

Currently, sql.NullInt16 and sql.NullInt32 are created as JSONB columns.
This fixes that.
@elliotcourant
Copy link
Collaborator

I'll want to play with this a bit before merging but if you want to fix it in the mean time; you can add the type:"smallint" or type:"integer" go tag to those fields on your struct and that should correct the issue in the mean time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants