misc/migration/3.5.0_Any.py
branch3.5
changeset 3214 49d085ba05ff
child 3277 4fdb165ae3de
equal deleted inserted replaced
3213:36a2357ccbc4 3214:49d085ba05ff
       
     1 add_relation_type('prefered_form')
       
     2 
       
     3 rql('SET X prefered_form Y WHERE Y canonical TRUE, X identical_to Y')
       
     4 checkpoint()
       
     5 
       
     6 drop_attribute('EmailAddress', 'canonical')
       
     7 drop_relation_definition('EmailAddress', 'identical_to', 'EmailAddress')