Bläddra i källkod

increase max title length to 512

Nick Sweeting 4 år sedan
förälder
incheckning
ad4bd49163
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      archivebox/core/models.py

+ 1 - 1
archivebox/core/models.py

@@ -76,7 +76,7 @@ class Snapshot(models.Model):
     url = models.URLField(unique=True)
     url = models.URLField(unique=True)
     timestamp = models.CharField(max_length=32, unique=True, db_index=True)
     timestamp = models.CharField(max_length=32, unique=True, db_index=True)
 
 
-    title = models.CharField(max_length=128, null=True, blank=True, db_index=True)
+    title = models.CharField(max_length=512, null=True, blank=True, db_index=True)
 
 
     added = models.DateTimeField(auto_now_add=True, db_index=True)
     added = models.DateTimeField(auto_now_add=True, db_index=True)
     updated = models.DateTimeField(auto_now=True, blank=True, null=True, db_index=True)
     updated = models.DateTimeField(auto_now=True, blank=True, null=True, db_index=True)