migration/2.0.1_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 16 Sep 2010 15:17:26 +0200
branchstable
changeset 625 ee0c4b4eb8e0
parent 613 acdff77f5efa
child 634 8558f1d22394
permissions -rw-r--r--
fix nosy list configuration * drop User interested_in TC relation * don't propagate on has_apycot_environment * don't propagate on existing TE when some user is added/removed from the nosylist

rql('SET X target "apycot.pylint" WHERE X is RecipeStep, X target "apycot.python.pylint"',
    ask_confirm=True)
commit()

rql('SET U interested_in PE WHERE TC use_environment PE, '
    'U interested_in TC, NOT U interested_in PE',
    ask_confirm=True)
drop_relation_definition('CWUser', 'interested_in', 'TestConfig')
drop_relation_definition('TestConfig', 'nosy_list', 'CWUser')