[migration] fix initial_state migration: at this point, S state_of ET is no more true (but we don't need it...) 3.5
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Sep 2009 08:33:18 +0200
branch3.5
changeset 3305 abae9045d2e4
parent 3304 2b18276b21ab
child 3306 bf50dc056edd
[migration] fix initial_state migration: at this point, S state_of ET is no more true (but we don't need it...)
misc/migration/bootstrapmigration_repository.py
--- a/misc/migration/bootstrapmigration_repository.py	Fri Sep 18 08:33:16 2009 +0200
+++ b/misc/migration/bootstrapmigration_repository.py	Fri Sep 18 08:33:18 2009 +0200
@@ -56,7 +56,7 @@
             {'et': et.eid, 'wf': wf.eid}, 'et', ask_confirm=False)
         rql('SET T transition_of WF WHERE T transition_of ET, ET eid %(et)s, WF eid %(wf)s',
             {'et': et.eid, 'wf': wf.eid}, 'et', ask_confirm=False)
-        rql('SET WF initial_state S WHERE ET initial_state S, S state_of ET, ET eid %(et)s, WF eid %(wf)s',
+        rql('SET WF initial_state S WHERE ET initial_state S, ET eid %(et)s, WF eid %(wf)s',
             {'et': et.eid, 'wf': wf.eid}, 'et', ask_confirm=False)