--- 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)
--- 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