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

FEAT: ALTER TABLE support #113

Open
StevenACoffman opened this issue May 29, 2023 · 2 comments
Open

FEAT: ALTER TABLE support #113

StevenACoffman opened this issue May 29, 2023 · 2 comments

Comments

@StevenACoffman
Copy link

StevenACoffman commented May 29, 2023

Currently adding support for BigQuery to golang-migrate is hampered by an inability to test DDL functionality in a Go emulator. This would just require support for a subset of ALTER TABLE such as:

ALTER TABLE products ADD COLUMN price DECIMAL;
ALTER TABLE products DROP COLUMN price;

See golang-migrate/migrate#881

@goccy
Copy link
Owner

goccy commented Jun 19, 2023

@StevenACoffman Thank you for your reporting.
Currently, I'm looking into supporting DDL. I plan to start with the ALTER statement. 👍

@myhau
Copy link

myhau commented Jun 5, 2024

Hello @StevenACoffman, @goccy :)

Have you made some progress on this issue?

I'm asking as I started tinkering with with implementation (it's needed to support table modification in bigquery emulator), but maybe you already have some "prototype" that works locally?

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

No branches or pull requests

3 participants