foreign keys - SQLAlchemy-migrate on a new Table with a relationship? -


let's have created new sqlalchemy class:

class c(base):     id = column(int, primary_key=true)     tags = relationship("b") 

i want create table sqlalchemy-migrate. however, don't know how convert 'relationship' declarative style, or schema tags should have.

how write code sqlalchemy-migrate create or drop table?


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -