server/test/data/schema.py
brancholdstable
changeset 8820 dbffb6959564
parent 8105 7980b36fb1aa
child 9395 96dba2efd16d
child 9565 fa00fc251d57
--- a/server/test/data/schema.py	Thu Mar 28 11:45:17 2013 +0100
+++ b/server/test/data/schema.py	Thu Mar 28 12:31:39 2013 +0100
@@ -52,6 +52,7 @@
 
 
 class Societe(EntityType):
+    __unique_together__ = [('nom', 'type', 'cp')]
     __permissions__ = {
         'read': ('managers', 'users', 'guests'),
         'update': ('managers', 'owners', ERQLExpression('U login L, X nom L')),