Re: [SQLObject] Altering/updating a database
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2011-01-13 22:12:52
|
On Thu, Jan 13, 2011 at 09:36:03PM +0000, Timothy W. Grove wrote: > 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 ? It could be as simple as Table.sqlmeta.addColumn(UnicodeCol('name'), changeSchema=True) Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |