Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Spargwy opened this issue Sep 4, 2023 · 1 comment
Closed

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

Spargwy opened this issue Sep 4, 2023 · 1 comment
Labels
bug Something isn't working triage New issues that hasn't been reviewed

Comments

@Spargwy
Copy link

Spargwy commented Sep 4, 2023

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

@Spargwy Spargwy added bug Something isn't working triage New issues that hasn't been reviewed labels Sep 4, 2023
@orisano
Copy link
Contributor

orisano commented Sep 4, 2023

This problem has already been solved by #2572 (not yet released)

@Spargwy Spargwy closed this as completed Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage New issues that hasn't been reviewed
Projects
None yet
Development

No branches or pull requests

2 participants