merge
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Fri, 29 May 2009 21:34:09 +0200
changeset 2015 3009899e1e51
parent 2014 71a9ab77d9f8 (current diff)
parent 2011 758ccc0a9d16 (diff)
child 2016 a6638de6d4da
merge
--- a/server/schemahooks.py	Fri May 29 21:32:53 2009 +0200
+++ b/server/schemahooks.py	Fri May 29 21:34:09 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