Re: Error when autogenerate migration scripts with alembic

2014-11-17 Thread Ons
It worked. Thank you for your great explanation. On Monday, November 17, 2014 4:27:37 PM UTC+1, Michael Bayer wrote: > > > > On Nov 17, 2014, at 10:20 AM, Ons > > wrote: > > > > Hi, > > > > I want to use alembic to auto-generate migrations s

Error when autogenerate migration scripts with alembic

2014-11-17 Thread Ons
Hi, I want to use alembic to auto-generate migrations scripts for my postgres db. When i tried: #alembic upgrade and alembic downgrade both worked properly, but when i modified my models and tried #alembic revision --autogenerate it raises this error : INFO [alembic.migration] Context impl