oops... stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 29 May 2009 16:11:49 +0200
branchstable
changeset 2007 62d72d65e50d
parent 1992 b073057c2756
child 2011 758ccc0a9d16
child 2024 82128fe6798c
oops...
server/schemahooks.py
--- a/server/schemahooks.py	Thu May 28 19:07:06 2009 +0200
+++ b/server/schemahooks.py	Fri May 29 16:11:49 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