1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-20 13:21:52 +02:00

increase max title length to 512

This commit is contained in:
Nick Sweeting
2021-02-18 02:33:08 -05:00
parent 4e5671dda9
commit ad4bd49163

View File

@@ -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)