Re: [Sqlalchemy-tickets] [sqlalchemy] #2843: Support for IF EXISTS/IF NOT EXISTS DDL constructs
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-10-20 02:32:09
|
#2843: Support for IF EXISTS/IF NOT EXISTS DDL constructs
------------------------------+-------------------------------
Reporter: remyroy | Owner: zzzeek
Type: enhancement | Status: new
Priority: medium | Milestone: 0.9.xx
Component: schema | Severity: major - 1-3 hours
Resolution: | Keywords:
Progress State: in queue |
------------------------------+-------------------------------
Comment (by zzzeek):
yup so adding this to CreateTable/DropTable etc. and then into the
appropriate alembic.op as discussed would be all you need;
create_all()/drop_all() etc. and the ddl.py sequence isn't used by
alembic.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2843#comment:8>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|