cubicweb/misc/migration/3.11.0_Any.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 26 Jun 2019 12:35:25 +0200
changeset 12662 4b612e5b9d05
parent 11775 39cf9e55ada8
permissions -rw-r--r--
[test] Use --short-description when testing newcube command

for rtype in ('cw_support', 'cw_dont_cross', 'cw_may_cross'):
    drop_relation_type(rtype)

if not 'url' in schema['CWSource'].subjrels:
    add_attribute('CWSource', 'url')
    add_attribute('CWSource', 'parser')
    add_attribute('CWSource', 'latest_retrieval')