[SQLObject] Altering/updating a database
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Timothy W. G. <tim...@si...> - 2011-01-13 21:36:26
|
Hi folks, I have an application which I am developing under Windows7, python2.7 and wxpython2.9. The application uses sqlobject-0.13.0-py2.7 with an sqlite database. I want to update an existing database by adding a new column (UnicodeCol) to an existing table. Can anyone suggest a way to automatically accomplish this through sqlobject ? I haven't found it too difficult to update an existing database with a completely new table, but adding a new column to an existing table is causing me some headaches. I haven't said much specifically about the application, but was wondering if there was a generally accepted "best" approach to this problem? Thanks. Best regards, Tim |