-
-
Notifications
You must be signed in to change notification settings - Fork 280
Add support of IF [NOT] EXISTS for ADD/DROP COLUMN in Postgresql #1626
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
Labels
op directives
postgresql
use case
not quite a feature and not quite a bug, something we just didn't think of
Comments
lachaib
added a commit
to lachaib/alembic
that referenced
this issue
Mar 19, 2025
3 tasks
lachaib
added a commit
to lachaib/alembic
that referenced
this issue
Mar 19, 2025
lachaib
added a commit
to lachaib/alembic
that referenced
this issue
Mar 20, 2025
lachaib
added a commit
to lachaib/alembic
that referenced
this issue
Apr 30, 2025
Louis-Amaury Chaib has proposed a fix for this issue in the main branch: Add support of IF [NOT] EXISTS for ADD/DROP COLUMN in Postgresql https://gerrit.sqlalchemy.org/c/sqlalchemy/alembic/+/5879 |
lachaib
added a commit
to lachaib/alembic
that referenced
this issue
Apr 30, 2025
lachaib
added a commit
to lachaib/alembic
that referenced
this issue
May 2, 2025
lachaib
added a commit
to lachaib/alembic
that referenced
this issue
May 2, 2025
lachaib
added a commit
to lachaib/alembic
that referenced
this issue
May 2, 2025
lachaib
added a commit
to lachaib/alembic
that referenced
this issue
May 13, 2025
Louis-Amaury Chaib has proposed a fix for this issue in the main branch: Add support of IF [NOT] EXISTS for ADD/DROP COLUMN in Postgresql https://gerrit.sqlalchemy.org/c/sqlalchemy/alembic/+/5879 |
sqlalchemy-bot
pushed a commit
that referenced
this issue
May 19, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
op directives
postgresql
use case
not quite a feature and not quite a bug, something we just didn't think of
Describe the use case
Add support for
IF [NOT] EXISTS
forADDDROP COLUMN
operations available on PostgreSQLDatabases / Backends / Drivers targeted
PostgreSQL
Example Use
The goal is to have automatically generated operations rewritable to add
if_exists/if_not_exists
attributes, then rendered with postgres compiler.would generate following SQL
Additional context
Spin-off of #524 for
ADD/DROP COLUMN
Have a nice day!
The text was updated successfully, but these errors were encountered: