# HG changeset patch # User Nicolas Chauvat # Date 1243621359 -7200 # Node ID 758ccc0a9d168d5974ac5c945f8d019bc63c79e5 # Parent c594323929cba559ca7c8e397c3f401d7a00d72f# Parent 62d72d65e50de26dbc2310c20075a9c80b36291c merge stable branch into default 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