I have a uuid field (not a primary key). The generated migration is:
uuid
from __future__ import unicode_literals from django.db import migrations,
(Answer taken from the first comment)
See the django docs - Migrations that add unique fields
They recommend changing your single migration into three separate migrations: