cubicweb/misc/migration/3.11.0_Any.py
author Laurent Peuch <cortex@worlddomination.be>
Wed, 31 Jul 2019 04:16:20 +0200
changeset 12762 f14dde905818
parent 11775 39cf9e55ada8
permissions -rw-r--r--
[pyramid/ctl/debugtoolbar] automatically include custom panels on -t

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')