diff --git a/api/ceramic_cache/migrations/0024_alter_revocation_proof_value.py b/api/ceramic_cache/migrations/0024_alter_revocation_proof_value.py new file mode 100644 index 000000000..23b4c8170 --- /dev/null +++ b/api/ceramic_cache/migrations/0024_alter_revocation_proof_value.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.6 on 2024-08-08 20:59 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("ceramic_cache", "0023_alter_ceramiccache_proof_value"), + ] + + operations = [ + migrations.AlterField( + model_name="revocation", + name="proof_value", + field=models.CharField(db_index=True, max_length=256), + ), + ] diff --git a/api/ceramic_cache/models.py b/api/ceramic_cache/models.py index 1d0aba45b..47f5aa513 100644 --- a/api/ceramic_cache/models.py +++ b/api/ceramic_cache/models.py @@ -115,7 +115,7 @@ class Meta: class Revocation(models.Model): proof_value = models.CharField( - null=False, blank=False, max_length=256, db_index=True, unique=True + null=False, blank=False, max_length=256, db_index=True ) # This is to provide efficient filtering (allows use of JOIN)