Re: [sqlalchemy] declarative_base and migration question

2011-06-04 Thread Jan Dittberner
Hello, if I understand your description correctly you include your declarative_base model classes into your migration scripts. You should not do this. You can reference existing tables in migration scripts via schema reflection but using declarative_base gets a bit more complicated. Maybe you get

[sqlalchemy] declarative_base and migration question

2011-06-04 Thread Ryu Ishimoto
Hi, I just recently started looking into using sqlalchemy migration, and I'm having difficulty understanding how it works with declarative_base. The problem is I don't quite understand how migration COULD handle the situation in which the model class definition changes in certain scenarios. For e