diff -r 3804794b1ccd -r 5d0be45ee69d server/migractions.py --- a/server/migractions.py Thu Feb 17 16:46:18 2011 +0100 +++ b/server/migractions.py Thu Feb 17 16:46:25 2011 +0100 @@ -545,7 +545,7 @@ self.rqlexec('DELETE CWUniqueTogetherConstraint C ' 'WHERE C constraint_of E, ' ' E eid %%(x)s,' - ' %s' % ', '.join( restrictions), + ' %s' % ', '.join(restrictions), substs) for ut in unique_together - repo_unique_together: rql, substs = ss.uniquetogether2rql(eschema, ut)