]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
feat: add `drop constraint if exists`
authorMike Fiedler <miketheman@gmail.com>
Sat, 25 Jun 2022 00:33:37 +0000 (00:33 +0000)
committerMike Fiedler <miketheman@gmail.com>
Sat, 25 Jun 2022 00:35:06 +0000 (00:35 +0000)
commit120171a7902c80dd7f6dc93f1abadb1bf23ee194
tree82b251b6c177499c038f83ec34a4aeab8b2e1090
parent5785b59482498996835dc148fa5f77db36a0705a
feat: add `drop constraint if exists`

Add `DROP CONSTRAINT ... IF EXISTS` behavior to the compiler.

Fixes #8141

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
lib/sqlalchemy/sql/compiler.py
test/sql/test_constraints.py