diff -r c594323929cb -r 758ccc0a9d16 server/schemahooks.py --- a/server/schemahooks.py Fri May 29 19:36:08 2009 +0200 +++ b/server/schemahooks.py Fri May 29 20:22:39 2009 +0200 @@ -588,7 +588,7 @@ else: cmd = 'DROP' sqlexec('ALTER TABLE %s ALTER COLUMN %s %s NOT NULL' % ( - table, SQL_PREFIX + etype, SQL_PREFIX + rtype)) + SQL_PREFIX + etype, SQL_PREFIX + rtype, cmd)) def commit_event(self): # structure should be clean, not need to remove entity's relations