Re: MySQL 1071 Error when using alembic autogenerate from SQLAlchemy models

2014-10-08 Thread Michael Bayer
the first hit on google for this is a stack overflow answer that points to the relevant details for this message: http://stackoverflow.com/questions/1814532/1071-specified-key-was-too-long-max-key-length-is-767-bytes the size of the index is being impacted by the character encoding in use; see

MySQL 1071 Error when using alembic autogenerate from SQLAlchemy models

2014-10-08 Thread Lance Blais
I have an existing Flask based Python 3.3 project and I'm trying to set it up to use Alembic. I've followed the instructions and modified env.py as directed in various places. When I run `*alembic revision --autogenerate -m 'test' `, *I get a proper list of all my models. After that, I run