kvesteri / sqlalchemy-continuum

Versioning extension for SQLAlchemy.
BSD 3-Clause "New" or "Revised" License
578 stars 127 forks source link

Support for index definition in version table #349

Open gauravrajfm opened 8 months ago

gauravrajfm commented 8 months ago

I want to run custom queries on version table using the columns defined in the base table. By default version table doesn't have indexes defined on those columns. If I add custom migration commands in alembic script, it conflicts with the version table definition. It will be better if we can define a metadata in the custom table which indicates Continuum that index has to be defined on the version table as well.