Describe the use case
In #1520, I added support for if_exists/if_not_exists on table commands. Previously it existed on only index commands.
This is a companion issue to support DROP CONSTRAINT IF EXISTS
Databases / Backends / Drivers targeted
Postgresql
Example Use
op.drop_constraint('foobar', 'table1', if_exists=True)
should produce
ALTER TABLE table1 DROP CONSTRAINT IF EXISTS foobar
Additional context
I'll be submitting a PR for this in a short while
Describe the use case
In #1520, I added support for if_exists/if_not_exists on table commands. Previously it existed on only index commands.
This is a companion issue to support
DROP CONSTRAINT IF EXISTSDatabases / Backends / Drivers targeted
Postgresql
Example Use
should produce
Additional context
I'll be submitting a PR for this in a short while