Add support for all features on Index objects through Django 4.0.
Review Request #12214 — Created March 28, 2022 and submitted — Latest diff uploaded
Django Evolution has supported
Meta.indexes
and theIndex
object for
a while, but lacked an assortment of features present since Django 2.0.
These include:
db_tablespace
(Django 2.0+)condition
(Django 2.2+)opclasses
(Django 2.2+)expressions
(Django 3.2+)include
(Django 3.2+)
This change introduces support for all of these features, allowing them
to evolve successfully.
Unit tests pass on all supported versions of Python, Django, and all
databases.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
Commits
Files
django_evolution/diff.py |
---|
django_evolution/mock_models.py |
---|
django_evolution/mutations.py |
---|
django_evolution/mutators.py |
---|
django_evolution/db/common.py |
---|
django_evolution/db/state.py |
---|
django_evolution/tests/test_change_meta.py |
---|
django_evolution/tests/db/mysql.py |
---|
django_evolution/tests/db/postgresql.py |
---|
django_evolution/tests/db/sqlite3.py |
---|