fix 3.13.0 migration script (closes #1766202)
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Mon, 20 Jun 2011 14:52:19 +0200
changeset 7542 86e9632a4e9c
parent 7541 55b1378e9357
child 7543 570522300e22
fix 3.13.0 migration script (closes #1766202)
misc/migration/3.13.0_Any.py
--- a/misc/migration/3.13.0_Any.py	Tue Jun 21 10:44:43 2011 +0200
+++ b/misc/migration/3.13.0_Any.py	Mon Jun 20 14:52:19 2011 +0200
@@ -1,3 +1,4 @@
 sync_schema_props_perms('cw_source', syncprops=False)
 add_attribute('CWSource', 'synchronizing')
-add_entity_type('BigInt')
+if schema['BigInt'].eid is None:
+    add_entity_type('BigInt')