cubicweb/test/data/lowered_etype.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 06 Feb 2017 11:21:31 +0100
branch3.24
changeset 11948 73ed9c204de9
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[migration] Move pyramid-related migration after "entities" table modifications Otherwise, we getting into `add_entity_type('CWSession')` we try to insert a CWEType without any 'asource' column (per 3.24's schema) whereas the backend still wants it. Closes #17054035.


from yams.buildobjs import EntityType

class my_etype(EntityType):
    pass