misc/migration/2.99.0_Any.py
branchtls-sprint
changeset 1398 5fe84a5f7035
parent 176 312024cbe717
child 1977 606923dff11b
--- 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')