Hi ! 

Does somebody here can tell me something about database migration on TG 
with SQLAlchemy please ? 

In fact I want to add a column containing a TSVectorType 
(http://sqlalchemy-searchable.readthedocs.org/en/latest/) to 4 of my 
existing tables and I’m not sure to know how to proceed… 
ex : 

search_vector = Column(TSVectorType('name', 'content'))


I watch the given example here 
https://sqlalchemy-migrate.readthedocs.org/en/latest/changeset.html with 
the col.create() of sqlalchemy-migrate but this example seems to be made 
for a « standart » type of column :/ 
ex : 

col = Column('col1', String, default='foobar')col.create(table, 
populate_default=True)



So I’m asking here for some advice from you guys…

Thanks a lot for your time.


-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to