author | Nicolas Chauvat <nicolas.chauvat@logilab.fr> |
Fri, 29 May 2009 20:22:39 +0200 | |
changeset 2011 | 758ccc0a9d16 |
parent 2010 | c594323929cb (current diff) |
parent 2007 | 62d72d65e50d (diff) |
child 2015 | 3009899e1e51 |
--- 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