I am responsible for the
SQL Anywhere Django driver and I'm trying to add support for Django 1.10. When I create a project and run "python manage.py migrate", it executes a bunch of SQL statements but then fails when altering the auth_user table to extend the username field to 150 characters. The problem is that the username column has a unique index on it, and SQL Anywhere does not allow a column to be altered if there's an index on it. I was hoping there was a feature I could enable in the BaseDatabaseFeatures subclass that tells Django this but I couldn't find one. I seem to be stuck.
Does anyone know of a way I can tell Django to drop the unique index, alter the column, and then re-create the index? Is there some sort of hook that I can use to detect this case and drop / recreate the index myself?
Thanks