Skip to content

Type override not being applied #412

Closed
@kyleconroy

Description

@kyleconroy

A user wrote an email to me with the following issue:

Hi again, I have column

battery             INTEGER,

and the result is

Battery           sql.NullInt32

I cannot force to use sql.NullInt64

overrides:
  - go_type: "int64"
    db_type: "integer"

is this bug or we use this in wrong way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    📚 postgresqlbugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions