# HG changeset patch # User Sylvain Thénault # Date 1252945543 -7200 # Node ID 49d085ba05ffc8e4094fbb97f23e7464e349073d # Parent 36a2357ccbc4f68865c4f35023fae629bce9ab95 [3.5 migration] missing identical_to/canonical -> prefered_form migration diff -r 36a2357ccbc4 -r 49d085ba05ff misc/migration/3.5.0_Any.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/misc/migration/3.5.0_Any.py Mon Sep 14 18:25:43 2009 +0200 @@ -0,0 +1,7 @@ +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')