migration/2.2.1_Any.py
author David Douard <david.douard@logilab.fr>
Tue, 21 Oct 2014 23:16:13 +0200
changeset 1737 52222f1b82d4
parent 1561 ea7b1e630c1b
permissions -rw-r--r--
[schema] remove useless status vocabulary elements


for step in rql('RecipeStep RS WHERE RS target %(target)s', {'target': u'apycot.get_dependancies'}).entities():
    step.cw_set(target=u'apycot.get_dependencies')

rql('DELETE Recipe R WHERE R name IN ("apycot.recipe.debian", "apycot.recipe.experimental")')

commit()