diff -r 77ebdbe93cf8 -r 77622caef9bd server/migractions.py --- 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: