diff --git a/rest_framework_idempotency_key/migrations/0003_remove_user.py b/rest_framework_idempotency_key/migrations/0003_remove_user.py index eefd241..7e4253b 100644 --- a/rest_framework_idempotency_key/migrations/0003_remove_user.py +++ b/rest_framework_idempotency_key/migrations/0003_remove_user.py @@ -10,14 +10,19 @@ class Migration(migrations.Migration): ] operations = [ - migrations.RemoveField( + migrations.AlterField( model_name='idempotencykey', name='user', + field=models.IntegerField(null=True), ), migrations.RemoveConstraint( model_name='idempotencykey', name='Unique IdempotencyKey (user, idempotency_key)', ), + migrations.RemoveField( + model_name='idempotencykey', + name='user', + ), migrations.AddConstraint( model_name='idempotencykey', constraint=models.UniqueConstraint(