]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- put this back now that we found the source of this
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Jan 2015 21:43:11 +0000 (16:43 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Jan 2015 21:43:11 +0000 (16:43 -0500)
doc/build/core/constraints.rst

index a1130010033c9875c8ab4f79b37298875fe2cec5..1f855c7248f2021d8b9f7a664254cf3ed7725b92 100644 (file)
@@ -176,17 +176,13 @@ has a name.  In the case of the ``'node'`` table above, we haven't named
 this constraint; the system will therefore attempt to emit DROP for only
 those constraints that are named:
 
-.. NOTE: the parser is doing something wrong with the DROP here,
-   if the "DROP TABLE element" is second, the "t" is being chopped off;
-   it is specific to the letter "t".    Look into this at some point
-
 .. sourcecode:: pycon+sql
 
     >>> with engine.connect() as conn:
     ...    metadata.drop_all(conn, checkfirst=False)
     {opensql}ALTER TABLE element DROP CONSTRAINT fk_element_parent_node_id
-    DROP TABLE element
     DROP TABLE node
+    DROP TABLE element
     {stop}