We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since PG17 it is possible to update the generated expression of a column. It should be supported on alterColumn.
alterColumn
https://www.postgresql.org/docs/17/sql-altertable.html
pgm.alterColumn("tab", "col1", { expressionGenerated: "other + 1" }); pgm.alterColumn("tab", "col2", { expressionGenerated: null });
generates:
ALTER TABLE tab ALTER COLUMN col1 SET EXPRESSION AS (other + 1); ALTER TABLE tab ALTER COLUMN col2 DROP EXPRESSION;
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
Since PG17 it is possible to update the generated expression of a column. It should be supported on
alterColumn
.https://www.postgresql.org/docs/17/sql-altertable.html
Suggested solution
generates:
Alternative
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: