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

jquery - Invalid Assignment Left-Hand Side -

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

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -