changeset 8798 | cdab3aadc679 |
parent 4042 | f85a4c846aad |
8797:f0535129def6 | 8798:cdab3aadc679 |
---|---|
1 add_relation_type('prefered_form') |
1 raise NotImplementedError("Cannot migrate such an old version. Use intermediate Cubiweb version (try 3.16.x)") |
2 |
|
3 rql('SET X prefered_form Y WHERE Y canonical TRUE, X identical_to Y') |
|
4 commit() |
|
5 |
|
6 drop_attribute('EmailAddress', 'canonical') |
|
7 drop_relation_definition('EmailAddress', 'identical_to', 'EmailAddress') |
|
8 |
|
9 if 'see_also' in schema: |
|
10 sync_schema_props_perms('see_also', syncprops=False, syncrdefs=False) |