diff -r af56cee51e67 -r 7518d927d443 VirtualMailManager/relocated.py --- a/VirtualMailManager/relocated.py Tue Feb 01 16:57:09 2011 +0000 +++ b/VirtualMailManager/relocated.py Wed Feb 02 19:03:54 2011 +0000 @@ -82,7 +82,8 @@ dbc = self._dbh.cursor() if not update: - dbc.execute('INSERT INTO relocated VALUES (%s, %s, %s)', + dbc.execute('INSERT INTO relocated (gid, address, destination) ' + 'VALUES (%s, %s, %s)', (self._gid, self._addr.localpart, str(self._dest))) else: dbc.execute('UPDATE relocated SET destination = %s WHERE gid = %s '