server/test/data/migratedapp/schema.py
changeset 6292 054fa36060d5
parent 6208 07b176640a8c
child 6790 f4f67ea5436a
--- a/server/test/data/migratedapp/schema.py	Thu Sep 16 18:56:35 2010 +0200
+++ b/server/test/data/migratedapp/schema.py	Tue Sep 21 16:33:20 2010 +0200
@@ -66,6 +66,7 @@
     whatever = Int(default=2)  # keep it before `date` for unittest_migraction.test_add_attribute_int
     date = Datetime()
     type = String(maxsize=1)
+    unique_id = String(maxsize=1, required=True, unique=True)
     mydate = Date(default='TODAY')
     shortpara = String(maxsize=64)
     ecrit_par = SubjectRelation('Personne', constraints=[RQLConstraint('S concerne A, O concerne A')])