[Zope-CVS] CVS: Products/Ape/lib/apelib/core - schemas.py:1.6.2.2

Shane Hathaway shane at zope.com
Wed Jul 21 02:08:04 EDT 2004


Update of /cvs-repository/Products/Ape/lib/apelib/core
In directory cvs.zope.org:/tmp/cvs-serv25827/core

Modified Files:
      Tag: sql-types-branch
	schemas.py 
Log Message:
Fixed bugs in sql-types-branch.  The tests now pass.


=== Products/Ape/lib/apelib/core/schemas.py 1.6.2.1 => 1.6.2.2 ===
--- Products/Ape/lib/apelib/core/schemas.py:1.6.2.1	Tue Jul 20 22:25:58 2004
+++ Products/Ape/lib/apelib/core/schemas.py	Wed Jul 21 02:07:33 2004
@@ -21,8 +21,8 @@
 from interfaces import IColumnSchema
 
 ok_types = [
-    'unicode', 'string', 'int', 'float', 'bool', 'object',
-    'classification', 'string:list', 'blob',
+    'unicode', 'string', 'int', 'long', 'float', 'bool', 'boolean', 'text',
+    'object', 'classification', 'string:list', 'blob',
     ]
 
 
@@ -37,6 +37,9 @@
     """Defines the schema of one column."""
 
     __implements__ = IColumnSchema
+    name = None
+    type = None
+    unique = None
 
     def __init__(self, name, type='string', unique=0):
         assert type in ok_types, type



More information about the Zope-CVS mailing list