--- a/misc/migration/2.99.0_Any.py Fri Apr 17 13:21:05 2009 +0200
+++ b/misc/migration/2.99.0_Any.py Fri Apr 17 16:55:37 2009 +0200
@@ -1,6 +1,6 @@
from cubicweb import CW_MIGRATION_MAP
-for pk, in rql('Any K WHERE X is EProperty, X pkey IN (%s), X pkey K'
+for pk, in rql('Any K WHERE X is CWProperty, X pkey IN (%s), X pkey K'
% ','.join("'system.version.%s'" % cube for cube in CW_MIGRATION_MAP),
ask_confirm=False):
cube = pk.split('.')[-1]
@@ -9,4 +9,4 @@
{'oldk': pk, 'newk': newk}, ask_confirm=False)
print 'renamed', pk, 'to', newk
-add_entity_type('ECache')
+add_entity_type('CWCache')