# HG changeset patch # User Sylvain Thénault # Date 1244220879 -7200 # Node ID 57d287a2132a85f16012fafdaee49c60f3214156 # Parent e4283fc56873aae25d5b8e3dc958965b593b401c reminder diff -r e4283fc56873 -r 57d287a2132a server/schemahooks.py --- a/server/schemahooks.py Fri Jun 05 16:41:09 2009 +0200 +++ b/server/schemahooks.py Fri Jun 05 18:54:39 2009 +0200 @@ -572,6 +572,7 @@ constraints = self.rschema.rproperty(etype, atype, 'constraints') coltype = type_from_constraints(adbh, atype, constraints, creating=False) + # XXX check self.values['cardinality'][0] actually changed? sql = adbh.sql_set_null_allowed(table, column, coltype, self.values['cardinality'][0] != '1') self.session.system_sql(sql) diff -r e4283fc56873 -r 57d287a2132a server/sources/native.py --- a/server/sources/native.py Fri Jun 05 16:41:09 2009 +0200 +++ b/server/sources/native.py Fri Jun 05 18:54:39 2009 +0200 @@ -5,7 +5,7 @@ from which it comes from) are stored in a varchar column encoded as a base64 string. This is because it should actually be Bytes but we want an index on it for fast querying. - + :organization: Logilab :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2. :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr