]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- fix incorrect example
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 17 Mar 2015 16:33:58 +0000 (12:33 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 17 Mar 2015 16:34:10 +0000 (12:34 -0400)
doc/build/changelog/migration_10.rst

index dfebae08dbeb10652f3e6d4304e4d87fc68e7c65..f4ead01aac67ec35318f7f4370a225000e0eec20 100644 (file)
@@ -8,7 +8,7 @@ What's New in SQLAlchemy 1.0?
     undergoing maintenance releases as of May, 2014,
     and SQLAlchemy version 1.0, as of yet unreleased.
 
-    Document last updated: March 1, 2015
+    Document last updated: March 17, 2015
 
 Introduction
 ============
@@ -707,8 +707,8 @@ expression of a :class:`.CheckConstraint`::
 Will render::
 
     CREATE TABLE foo (
-        flag BOOL,
-        CONSTRAINT ck_foo_flag CHECK (flag IN (0, 1))
+        value INTEGER,
+        CONSTRAINT ck_foo_value CHECK (value > 5)
     )
 
 The combination of naming conventions with the constraint produced by a