Author: phd
Date: 2004-12-28 08:59:18 +0000 (Tue, 28 Dec 2004)
New Revision: 499
Modified:
home/phd/SQLObject/inheritance/sqlobject/main.py
Log:
Added missed connection to addColumn.
Modified: home/phd/SQLObject/inheritance/sqlobject/main.py
===================================================================
--- home/phd/SQLObject/inheritance/sqlobject/main.py 2004-12-28 08:38:23 UTC (rev 498)
+++ home/phd/SQLObject/inheritance/sqlobject/main.py 2004-12-28 08:59:18 UTC (rev 499)
@@ -451,7 +451,7 @@
cls._SO_indexList.append(index)
addIndex = classmethod(addIndex)
- def addColumn(cls, columnDef, changeSchema=False, childUpdate=False):
+ def addColumn(cls, columnDef, changeSchema=False, connection=None, childUpdate=False):
#DSM: Try to add parent properties to the current class
#DSM: Only do this once if possible at object creation and once for
#DSM: each new dynamic column to refresh the current class
|