Issue #282 resolved
I've got the following index
Index(EMAIL_UNIQUE_CONSTRAINT_NAME, func.lower(email), unique=True)
and even though it already exists in the database, a new revision tries to create it again.
op.create_index('user_email_unique', 'user', [sa.text('lower("user".email)')], unique=True)
I think autogenerate is able to catch these kind of indexes. Am I doing something wrong?