cubicweb/misc/migration/bootstrapmigration_repository.py
changeset 11774 51c160677afe
parent 11773 054a947b5415
child 12567 26744ad37953
--- a/cubicweb/misc/migration/bootstrapmigration_repository.py	Fri Sep 30 17:38:12 2016 +0200
+++ b/cubicweb/misc/migration/bootstrapmigration_repository.py	Wed Oct 05 15:30:10 2016 +0200
@@ -379,15 +379,6 @@
 
     sync_schema_props_perms()
 
-if applcubicwebversion < (3, 2, 2) and cubicwebversion >= (3, 2, 1):
-    from base64 import b64encode
-    for eid, extid in sql('SELECT eid, extid FROM entities '
-                          'WHERE extid is NOT NULL',
-                          ask_confirm=False):
-        sql('UPDATE entities SET extid=%(extid)s WHERE eid=%(eid)s',
-            {'extid': b64encode(extid), 'eid': eid}, ask_confirm=False)
-    commit()
-
 if applcubicwebversion < (3, 2, 0) and cubicwebversion >= (3, 2, 0):
     add_cube('card', update_database=False)