changeset 11291 | 7c565548fb09 |
parent 11289 | 3e69bccc2022 |
parent 11057 | 0b59724cb3f2 |
child 11413 | c172fa18565e |
--- a/cubicweb/server/test/data-schema2sql/schema/schema.py Fri Apr 15 10:20:34 2016 +0200 +++ b/cubicweb/server/test/data-schema2sql/schema/schema.py Mon Jun 20 15:04:14 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)