server/test/data/migratedapp/schema.py
brancholdstable
changeset 7711 458cb2edf63a
parent 6790 f4f67ea5436a
child 8105 7980b36fb1aa
--- a/server/test/data/migratedapp/schema.py	Wed Jul 27 12:25:48 2011 +0200
+++ b/server/test/data/migratedapp/schema.py	Wed Jul 27 16:43:07 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -17,7 +17,7 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """cw.server.migraction test"""
 from yams.buildobjs import (EntityType, RelationType, RelationDefinition,
-                            SubjectRelation,
+                            SubjectRelation, Bytes,
                             RichString, String, Int, Boolean, Datetime, Date)
 from yams.constraints import SizeConstraint, UniqueConstraint
 from cubicweb.schema import (WorkflowableEntityType, RQLConstraint,
@@ -36,6 +36,7 @@
     sujet = String(fulltextindexed=True,
                  constraints=[SizeConstraint(256)])
     concerne = SubjectRelation('Societe')
+    opt_attr = Bytes()
 
 class concerne(RelationType):
     __permissions__ = {