diff --git a/src/objecttypes/token/migrations/0008_alter_tokenauth_token.py b/src/objecttypes/token/migrations/0008_alter_tokenauth_token.py index cd7c28ec..78014e9a 100644 --- a/src/objecttypes/token/migrations/0008_alter_tokenauth_token.py +++ b/src/objecttypes/token/migrations/0008_alter_tokenauth_token.py @@ -12,6 +12,6 @@ class Migration(migrations.Migration): migrations.AlterField( model_name="tokenauth", name="token", - field=models.CharField(db_index=True, max_length=40, verbose_name="token"), + field=models.CharField(max_length=40, unique=True, verbose_name="token"), ), ]