server/migractions.py
branch3.5
changeset 2943 77622caef9bd
parent 2931 17224e90a1c4
child 2956 6a57c0be0e58
--- a/server/migractions.py	Fri Aug 21 08:31:25 2009 +0200
+++ b/server/migractions.py	Fri Aug 21 08:42:17 2009 +0200
@@ -923,7 +923,7 @@
                                 {'x': wf.eid, 'et': etype}, 'x')
             assert rset, 'unexistant entity type %s' % etype
             if default:
-                rset = self.rqlexec('SET X default_workflow_of ET '
+                rset = self.rqlexec('SET ET default_workflow X '
                                     'WHERE X eid %(x)s, ET name %(et)s',
                                     {'x': wf.eid, 'et': etype}, 'x')
         if commit: