I have defined a class like
class Image(AciveMapper):
class mapping:
__table__ = "image"
id = column(Integer, primary_key=True)
url = column(Unicode(128))
and created the DB according to the model.
I have modified the Image class to add a new column
class Image(AciveMapper):
class mapping:
__table__ = "image"
id = column(Integer, primary_key=True)
url = column(Unicode(128))
mime_type = column(Unicode(32))
I can't find how to update the DB schema without dropping the table or
going through SQL.
Any help ??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---