From ad4bd491636b8e962123878bc5a17caf63f5d002 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Thu, 18 Feb 2021 02:33:08 -0500 Subject: [PATCH] increase max title length to 512 --- archivebox/core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/core/models.py b/archivebox/core/models.py index 3c42dfa8..75898360 100644 --- a/archivebox/core/models.py +++ b/archivebox/core/models.py @@ -76,7 +76,7 @@ class Snapshot(models.Model): url = models.URLField(unique=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) updated = models.DateTimeField(auto_now=True, blank=True, null=True, db_index=True)