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

Alter Table statement dropping default value not supported #312

Open
ScottPierce opened this issue Feb 4, 2022 · 0 comments
Open

Alter Table statement dropping default value not supported #312

ScottPierce opened this issue Feb 4, 2022 · 0 comments
Labels

Comments

@ScottPierce
Copy link

Dialect

MySQL

Failing SQL

--Example: Products have a default stock of 0
ALTER TABLE products ALTER COLUMN stocks integer DROP DEFAULT;

--Example: Products are available by default (removed optional COLUMN keyword)
ALTER TABLE products ALTER available DROP DEFAULT;

Description

https://dev.mysql.com/doc/refman/8.0/en/alter-table.html

@ScottPierce ScottPierce added the bug label Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant