Skip to content

int instead of []int if add column through alter table #2688

Closed
@Spargwy

Description

@Spargwy

Version

1.20.0

What happened?

Check playground please

Here you can see that generated model has FirstArray and SecondArray fields but second is just int. It was added with alter table

Relevant log output

No response

Database schema

No response

SQL queries

No response

Configuration

No response

Playground URL

https://play.sqlc.dev/p/305666ed7e83bf64a45853b49beb5fe88fbf4c6e70f093e3225fea82a503dad3

What operating system are you using?

No response

What database engines are you using?

No response

What type of code are you generating?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNew issues that hasn't been reviewed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions