server/test/data-schema2sql/schema/schema.py
changeset 11289 3e69bccc2022
parent 10907 9ae707db5265
--- a/server/test/data-schema2sql/schema/schema.py	Fri Jun 17 14:44:59 2016 +0200
+++ b/server/test/data-schema2sql/schema/schema.py	Thu Jun 16 17:45:16 2016 +0200
@@ -64,7 +64,7 @@
 class Societe(EntityType):
     nom  = String(maxsize=64, fulltextindexed=True)
     web = String(maxsize=128)
-    tel  = Int()
+    tel  = Int(unique=True)
     fax  = Int(constraints=[BoundaryConstraint('<=', Attribute('tel'))])
     rncs = String(maxsize=32)
     ad1  = String(maxsize=128)