[SQL-CVS] SQLObject/SQLObject Col.py,1.16,1.17
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <ian...@us...> - 2003-04-29 09:37:11
|
Update of /cvsroot/sqlobject/SQLObject/SQLObject In directory sc8-pr-cvs1:/tmp/cvs-serv14229/SQLObject Modified Files: Col.py Log Message: Made alternateID imply NOT NULL Index: Col.py =================================================================== RCS file: /cvsroot/sqlobject/SQLObject/SQLObject/Col.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Col.py 29 Apr 2003 09:26:52 -0000 1.16 --- Col.py 29 Apr 2003 09:37:06 -0000 1.17 *************** *** 110,114 **** def _extraSQL(self): result = [] ! if self.notNull: result.append('NOT NULL') if self.unique or self.alternateID: --- 110,114 ---- def _extraSQL(self): result = [] ! if self.notNull or self.alternateID: result.append('NOT NULL') if self.unique or self.alternateID: |