schema.py
changeset 10813 ab626726a70a
parent 10797 b4f8c0b98c29
child 10833 f585add0fed9
equal deleted inserted replaced
10812:a747e211266b 10813:ab626726a70a
   103                       'SubWorkflowExitPoint'))
   103                       'SubWorkflowExitPoint'))
   104 
   104 
   105 INTERNAL_TYPES = set(('CWProperty', 'CWCache', 'ExternalUri', 'CWDataImport',
   105 INTERNAL_TYPES = set(('CWProperty', 'CWCache', 'ExternalUri', 'CWDataImport',
   106                       'CWSource', 'CWSourceHostConfig', 'CWSourceSchemaConfig'))
   106                       'CWSource', 'CWSourceHostConfig', 'CWSourceSchemaConfig'))
   107 
   107 
       
   108 UNIQUE_CONSTRAINTS = ('SizeConstraint', 'FormatConstraint',
       
   109                       'StaticVocabularyConstraint',
       
   110                       'RQLVocabularyConstraint')
   108 
   111 
   109 _LOGGER = getLogger('cubicweb.schemaloader')
   112 _LOGGER = getLogger('cubicweb.schemaloader')
   110 
   113 
   111 # entity and relation schema created from serialized schema have an eid
   114 # entity and relation schema created from serialized schema have an eid
   112 ybo.ETYPE_PROPERTIES += ('eid',)
   115 ybo.ETYPE_PROPERTIES += ('eid',)