| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:c06f244f-d4e8-abbc-c9f3-5c0f91966535 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DD6A:18EF1B:927A8D4:CBADDC5:6A508E6B |
| html-safe-nonce | 0ef84c49df3af13508bbfcee181245ac0e5e512c2f09b3e7287bb61605a1ca9a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDZBOjE4RUYxQjo5MjdBOEQ0OkNCQUREQzU6NkE1MDhFNkIiLCJ2aXNpdG9yX2lkIjoiMjc2NDA1MDI5OTg5MDk5NDc5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a51ebf9046906fdc3be39aa08b77c1797a2b9ef5274d7a6e0306b4ec92423fc6 |
| hovercard-subject-tag | pull_request:1496304676 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/sqlc-dev/sqlc/2680/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fb07e2fb3a899a6e8954cd45e0a1918e5952552a37547ec1b9be6525d7965cb7/sqlc-dev/sqlc/pull/2680 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fb07e2fb3a899a6e8954cd45e0a1918e5952552a37547ec1b9be6525d7965cb7/sqlc-dev/sqlc/pull/2680 |
| og:image:alt | I got in a case similar to #1503. This PR will fix #1503.
I found one discrepancy between column definition between create table and alter definition. I fix it by defining a common sub function.
On... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sapk |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-cache |
| go-import | github.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git |
| octolytics-dimension-user_id | 136738596 |
| octolytics-dimension-user_login | sqlc-dev |
| octolytics-dimension-repository_id | 193160679 |
| octolytics-dimension-repository_nwo | sqlc-dev/sqlc |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193160679 |
| octolytics-dimension-repository_network_root_nwo | sqlc-dev/sqlc |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/sqlc-dev/sqlc/pull/2680#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F2680 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F2680 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=sqlc-dev%2Fsqlc |
| Reload | https://github.com/sqlc-dev/sqlc/pull/2680 |
| Reload | https://github.com/sqlc-dev/sqlc/pull/2680 |
| Reload | https://github.com/sqlc-dev/sqlc/pull/2680 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2680 |
|
sqlc-dev
| https://github.com/sqlc-dev |
| sqlc | https://github.com/sqlc-dev/sqlc |
|
Notifications
| https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc |
|
Fork
1.1k
| https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc |
|
Star
18k
| https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc |
|
Code
| https://github.com/sqlc-dev/sqlc |
|
Issues
597
| https://github.com/sqlc-dev/sqlc/issues |
|
Pull requests
106
| https://github.com/sqlc-dev/sqlc/pulls |
|
Discussions
| https://github.com/sqlc-dev/sqlc/discussions |
|
Actions
| https://github.com/sqlc-dev/sqlc/actions |
|
Projects
| https://github.com/sqlc-dev/sqlc/projects |
|
Security and quality
0
| https://github.com/sqlc-dev/sqlc/security |
|
Insights
| https://github.com/sqlc-dev/sqlc/pulse |
|
Code
| https://github.com/sqlc-dev/sqlc |
|
Issues
| https://github.com/sqlc-dev/sqlc/issues |
|
Pull requests
| https://github.com/sqlc-dev/sqlc/pulls |
|
Discussions
| https://github.com/sqlc-dev/sqlc/discussions |
|
Actions
| https://github.com/sqlc-dev/sqlc/actions |
|
Projects
| https://github.com/sqlc-dev/sqlc/projects |
|
Security and quality
| https://github.com/sqlc-dev/sqlc/security |
|
Insights
| https://github.com/sqlc-dev/sqlc/pulse |
| kyleconroy | https://github.com/kyleconroy |
| sqlc-dev:main | https://github.com/sqlc-dev/sqlc/tree/main |
| sapk-fork:fix-1503 | https://github.com/sapk-fork/sqlc/tree/fix-1503 |
| Conversation | https://github.com/sqlc-dev/sqlc/pull/2680 |
| Commits6 (6) | https://github.com/sqlc-dev/sqlc/pull/2680/commits |
| Checks | https://github.com/sqlc-dev/sqlc/pull/2680/checks |
| Files changed | https://github.com/sqlc-dev/sqlc/pull/2680/files |
| fix(engine/dolphin): support enum in ALTER definition | https://github.com/sqlc-dev/sqlc/pull/2680#top |
| kyleconroy | https://github.com/kyleconroy |
| sqlc-dev:main | https://github.com/sqlc-dev/sqlc/tree/main |
| sapk-fork:fix-1503 | https://github.com/sapk-fork/sqlc/tree/fix-1503 |
|
| https://github.com/sapk |
| sapk | https://github.com/sapk |
| Aug 31, 2023 | https://github.com/sqlc-dev/sqlc/pull/2680#issue-1874550938 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2680 |
| #1503 | https://github.com/sqlc-dev/sqlc/issues/1503 |
| #1503 | https://github.com/sqlc-dev/sqlc/issues/1503 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2680 |
| sapk | https://github.com/sapk |
| August 31, 2023 00:23 | https://github.com/sqlc-dev/sqlc/pull/2680#commits-pushed-9475610 |
|
| https://github.com/sapk |
| setup expected to pass test | https://github.com/sqlc-dev/sqlc/pull/2680/commits/9475610ef7415aaba09b87dd782c38d8fab26a49 |
| 9475610 | https://github.com/sqlc-dev/sqlc/pull/2680/commits/9475610ef7415aaba09b87dd782c38d8fab26a49 |
|
| https://github.com/sapk |
| with alter result | https://github.com/sqlc-dev/sqlc/pull/2680/commits/c4616a94eec6210ee784addec7e26828c302c92c |
| c4616a9 | https://github.com/sqlc-dev/sqlc/pull/2680/commits/c4616a94eec6210ee784addec7e26828c302c92c |
|
| https://github.com/sapk |
| POC | https://github.com/sqlc-dev/sqlc/pull/2680/commits/f0b46ea61dc2fba888616f160832afa35ce0b067 |
| f0b46ea | https://github.com/sqlc-dev/sqlc/pull/2680/commits/f0b46ea61dc2fba888616f160832afa35ce0b067 |
|
| https://github.com/sapk |
| cleanup | https://github.com/sqlc-dev/sqlc/pull/2680/commits/80a339895b44432eaba87de722806b26c1ffcc84 |
| 80a3398 | https://github.com/sqlc-dev/sqlc/pull/2680/commits/80a339895b44432eaba87de722806b26c1ffcc84 |
|
| https://github.com/sapk |
| add alter change test case | https://github.com/sqlc-dev/sqlc/pull/2680/commits/036f75edbdcc4868b9754e9c61a158aa4ea9dec3 |
| 036f75e | https://github.com/sqlc-dev/sqlc/pull/2680/commits/036f75edbdcc4868b9754e9c61a158aa4ea9dec3 |
|
| https://github.com/sapk |
| cleanup | https://github.com/sqlc-dev/sqlc/pull/2680/commits/6265431cc3e764bcbf2aa661896389f93e523061 |
| 6265431 | https://github.com/sqlc-dev/sqlc/pull/2680/commits/6265431cc3e764bcbf2aa661896389f93e523061 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
|
Oct 13, 2023
| https://github.com/sqlc-dev/sqlc/pull/2680#pullrequestreview-1677214639 |
|
View reviewed changes
| https://github.com/sqlc-dev/sqlc/pull/2680/files/6265431cc3e764bcbf2aa661896389f93e523061 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| b581867 | https://github.com/sqlc-dev/sqlc/commit/b581867fe2a99ae6dc8a0f7bcd4e5124138b41e0 |
| Oct 13, 2023 | https://github.com/sqlc-dev/sqlc/pull/2680#event-10648062729 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
|
Oct 13, 2023
| https://github.com/sqlc-dev/sqlc/pull/2680#ref-pullrequest-1942553113 |
|
fix(mysql): Add, drop, rename and change enum values
#2853
| https://github.com/sqlc-dev/sqlc/pull/2853 |
| kyleconroy | https://github.com/kyleconroy |
|
Oct 13, 2023
| https://github.com/sqlc-dev/sqlc/pull/2680#ref-commit-39576d6 |
|
| https://github.com/kyleconroy |
| fix(mysql): Add, drop, rename and change enum values ( | https://github.com/sqlc-dev/sqlc/commit/39576d6e23e552a10b43dab20ab2eeb3cae9f8c2 |
| #2853 | https://github.com/sqlc-dev/sqlc/pull/2853 |
| ) | https://github.com/sqlc-dev/sqlc/commit/39576d6e23e552a10b43dab20ab2eeb3cae9f8c2 |
| 39576d6 | https://github.com/sqlc-dev/sqlc/commit/39576d6e23e552a10b43dab20ab2eeb3cae9f8c2 |
| #2680 | https://github.com/sqlc-dev/sqlc/pull/2680 |
| #2475 | https://github.com/sqlc-dev/sqlc/issues/2475 |
| https://github.com/sapk |
| sapk | https://github.com/sapk |
| October 14, 2023 06:45 | https://github.com/sqlc-dev/sqlc/pull/2680#event-10651811933 |
| https://github.com/p-linnane |
| p-linnane | https://github.com/p-linnane |
|
Oct 24, 2023
| https://github.com/sqlc-dev/sqlc/pull/2680#ref-pullrequest-1960181296 |
|
sqlc 1.23.0
Homebrew/homebrew-core#152306
| https://github.com/Homebrew/homebrew-core/pull/152306 |
| alfonsodev | https://github.com/alfonsodev |
|
Oct 13, 2025
| https://github.com/sqlc-dev/sqlc/pull/2680#ref-commit-6165f0c |
|
| https://github.com/sapk |
| fix(engine/dolphin): support enum in ALTER definition ( | https://github.com/ExponentiaTeam/sqlc/commit/6165f0c5687db5ced04c5f7fccc4d74ec1d3aa6c |
| sqlc-dev#2680 | https://github.com/sqlc-dev/sqlc/pull/2680 |
| ) | https://github.com/ExponentiaTeam/sqlc/commit/6165f0c5687db5ced04c5f7fccc4d74ec1d3aa6c |
| 6165f0c | https://github.com/ExponentiaTeam/sqlc/commit/6165f0c5687db5ced04c5f7fccc4d74ec1d3aa6c |
| sqlc-dev#1503 | https://github.com/sqlc-dev/sqlc/issues/1503 |
| sqlc-dev#1503 | https://github.com/sqlc-dev/sqlc/issues/1503 |
| alfonsodev | https://github.com/alfonsodev |
|
Oct 13, 2025
| https://github.com/sqlc-dev/sqlc/pull/2680#ref-commit-ecfd2dd |
|
| https://github.com/kyleconroy |
| fix(mysql): Add, drop, rename and change enum values ( | https://github.com/ExponentiaTeam/sqlc/commit/ecfd2ddebb7e70ea197b7e0da976e2c78ba91a1d |
| sqlc-dev#2853 | https://github.com/sqlc-dev/sqlc/pull/2853 |
| ) | https://github.com/ExponentiaTeam/sqlc/commit/ecfd2ddebb7e70ea197b7e0da976e2c78ba91a1d |
| ecfd2dd | https://github.com/ExponentiaTeam/sqlc/commit/ecfd2ddebb7e70ea197b7e0da976e2c78ba91a1d |
| sqlc-dev#2680 | https://github.com/sqlc-dev/sqlc/pull/2680 |
| sqlc-dev#2475 | https://github.com/sqlc-dev/sqlc/issues/2475 |
| https://github.co/hiddenchars |
| https://github.com/sqlc-dev/sqlc/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F2680 |
|
| https://github.com/kyleconroy |
|
kyleconroy
| https://github.com/kyleconroy |
|
| https://github.com/sqlc-dev/sqlc/pull/2680/files/6265431cc3e764bcbf2aa661896389f93e523061 |
|
ALTER TABLE MODIFY enum not respected
| https://github.com/sqlc-dev/sqlc/issues/1503 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2680 |
|
| https://github.com/sapk |
|
| https://github.com/kyleconroy |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |