[sqlalchemy] [alembic] import the own model into myproject/alembic/env.py

2015-08-16 Thread c.buhtz
I want to use `alembic revision --autogenerate` with my own model classes. Because of that I need to import them in `myproject/alembic/env.py` as [described in the docs][1]. But this doesn't work even if I tried a lot of variations. I am not sure in which context (don't know if this is the

Re: [sqlalchemy] [alembic] import the own model into myproject/alembic/env.py

2015-08-16 Thread Mike Bayer
On 8/16/15 8:57 AM, c.bu...@posteo.jp wrote: I want to use `alembic revision --autogenerate` with my own model classes. Because of that I need to import them in `myproject/alembic/env.py` as [described in the docs][1]. But this doesn't work even if I tried a lot of variations. I am not sure