misc/migration/3.5.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 15 Sep 2009 15:01:41 +0200
changeset 3230 1d25e928c299
parent 3214 49d085ba05ff
child 3277 4fdb165ae3de
permissions -rw-r--r--
backport 3.5

add_relation_type('prefered_form')

rql('SET X prefered_form Y WHERE Y canonical TRUE, X identical_to Y')
checkpoint()

drop_attribute('EmailAddress', 'canonical')
drop_relation_definition('EmailAddress', 'identical_to', 'EmailAddress')