jazzband / django-redshift-backend

Redshift database backend for Django
Apache License 2.0
83 stars 47 forks source link

add_index and remove_index method for migration on Django-1.11 #25

Closed shimizukawa closed 2 years ago

shimizukawa commented 7 years ago

from: https://github.com/shimizukawa/django-redshift-backend/pull/24/commits/b551856bbe4528b191a6d21d3586a865db8c11af#diff-5af7c04b6b21eb52ef51f5ead82240ebR123

everything to do with a model's metaclass defining index_together.

add_index and remove_index have been added since django-1.11. I must investigate this

refs:

shimizukawa commented 2 years ago

Redsihft doesn't support INDEX. https://docs.aws.amazon.com/en_us/redshift/latest/dg/c_unsupported-postgresql-features.html