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
Post a Comment