Open garyvdm opened 2 years ago
Hi,
This is a known limitation. The issue is similar to https://github.com/sqlalchemy/alembic/issues/523 but for postgresql.
In v2 sqlalchemy implemented https://github.com/sqlalchemy/sqlalchemy/issues/7442 and will correctly reflect functional indexes, but currently alembic does not take them into consideration in auto-generate.
Since SQLAlchemy 2 supports this, is there a proposed timeline for alembic autogenerate to enable functional indices?
there is no proposed timeline, overall as a volunteer driven open source project we don't usually have timelines for things.
That's fair, I appreciate all of your work on this ecosystem. Just trying to understand whether I should wait or look for an alternative option in the meantime
Describe the bug I'm using a postgresql index with a inet_ops operator. Autogenerated code does not include the index.
Expected behavior Autogenerated code should include the index.
To Reproduce
env.py
Error
Versions.
Have a nice day! P.S. pull request to follow shortly.