server/test/data/schema.py
branchstable
changeset 3546 f0aecddf367e
parent 2923 b97a0f8dd4dc
child 3877 7ca53fc72a0a
child 3981 8029019884af
equal deleted inserted replaced
3544:188d86631c45 3546:f0aecddf367e
    80     todo_by = SubjectRelation('CWUser')
    80     todo_by = SubjectRelation('CWUser')
    81 
    81 
    82 class Personne(EntityType):
    82 class Personne(EntityType):
    83     nom    = String(fulltextindexed=True, required=True, maxsize=64)
    83     nom    = String(fulltextindexed=True, required=True, maxsize=64)
    84     prenom = String(fulltextindexed=True, maxsize=64)
    84     prenom = String(fulltextindexed=True, maxsize=64)
    85     sexe   = String(maxsize=1, default='M')
    85     sexe   = String(maxsize=1, default='M', fulltextindexed=True)
    86     promo  = String(vocabulary=('bon','pasbon'))
    86     promo  = String(vocabulary=('bon','pasbon'))
    87     titre  = String(fulltextindexed=True, maxsize=128)
    87     titre  = String(fulltextindexed=True, maxsize=128)
    88     adel   = String(maxsize=128)
    88     adel   = String(maxsize=128)
    89     ass    = String(maxsize=128)
    89     ass    = String(maxsize=128)
    90     web    = String(maxsize=128)
    90     web    = String(maxsize=128)