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
Altering constraints on a specific column would be very handy. If i have missed a way to do it in the current version, please let me know.
Something like this would be great.
pgm.alterConstaints(tablename, columnname, { unique: false, references: "referencename" });
The text was updated successfully, but these errors were encountered:
@mieradi Can you elaborate a bit more what you want?
Please provide some SQL examples that should be covered.
When I look into the PostgreSQL documentation, currently ALTER CONSTRAINT does not support e.g. unique and so on 🤔 https://www.postgresql.org/docs/current/sql-altertable.html#SQL-ALTERTABLE-DESC-ALTER-CONSTRAINT
ALTER CONSTRAINT
unique
Sorry, something went wrong.
No branches or pull requests
Altering constraints on a specific column would be very handy. If i have missed a way to do it in the current version, please let me know.
Something like this would be great.
The text was updated successfully, but these errors were encountered: